summaryrefslogtreecommitdiff
path: root/src/cpu/amd/dualcore
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpu/amd/dualcore')
-rw-r--r--src/cpu/amd/dualcore/dualcore_id.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/cpu/amd/dualcore/dualcore_id.c b/src/cpu/amd/dualcore/dualcore_id.c
index c8c8d8d443..67beb94dd5 100644
--- a/src/cpu/amd/dualcore/dualcore_id.c
+++ b/src/cpu/amd/dualcore/dualcore_id.c
@@ -47,8 +47,9 @@ static inline unsigned get_core_num(void)
return (cpuid_ecx(0x80000008) & 0xff);
}
-static inline struct node_core_id get_node_core_id_x(void) {
+static inline struct node_core_id get_node_core_id_x(void)
+{
- return get_node_core_id( read_nb_cfg_54() ); // for pre_e0() nb_cfg_54 always be 0
+ return get_node_core_id(read_nb_cfg_54()); // for pre_e0() nb_cfg_54 always be 0
}