diff options
author | Stefan Reinauer <stepan@coresystems.de> | 2009-04-15 06:00:01 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2009-04-15 06:00:01 +0000 |
commit | 82144571adb315197ded9d6f3ada29a86637117c (patch) | |
tree | cd684fb126eebf40ee26386034cbbb9e0fe0bd26 /src/cpu/amd | |
parent | 57f6c08837380e60153bceab75e042d535746daa (diff) |
r4097 broke the tree and it remains unfixed :-(
Repeat: Cosmetic patches shall not break the tree for 20 revisions.
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4116 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/cpu/amd')
-rw-r--r-- | src/cpu/amd/dualcore/dualcore_id.c | 5 | ||||
-rw-r--r-- | src/cpu/amd/quadcore/quadcore_id.c | 6 |
2 files changed, 6 insertions, 5 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 } diff --git a/src/cpu/amd/quadcore/quadcore_id.c b/src/cpu/amd/quadcore/quadcore_id.c index 4597f6b70d..c4eab24a80 100644 --- a/src/cpu/amd/quadcore/quadcore_id.c +++ b/src/cpu/amd/quadcore/quadcore_id.c @@ -72,8 +72,8 @@ static u32 get_core_num(void) return (cpuid_ecx(0x80000008) & 0xff); } -static struct node_core_id get_node_core_id_x(void) { - - return get_node_core_id( read_nb_cfg_54() ); +static struct node_core_id get_node_core_id_x(void) +{ + return get_node_core_id(read_nb_cfg_54()); } |