aboutsummaryrefslogtreecommitdiff
path: root/src/include/cpu/amd/multicore.h
diff options
context:
space:
mode:
authorStefan Reinauer <reinauer@chromium.org>2013-05-09 14:33:14 -0700
committerRonald G. Minnich <rminnich@gmail.com>2013-05-10 17:31:31 +0200
commitc5e036a04368186fe73925c6fb101c594513391c (patch)
treef119ab1d2a1da63d55474e36a0ebf05a7a2ed613 /src/include/cpu/amd/multicore.h
parentb8b3e8bff32ee7dddcacec11e015f6683783eb2f (diff)
Get rid of a number of __GNUC__ checks
In the process of streamlining coreboot code and getting rid of unneeded ifdefs, drop a number of unneeded checks for the GNU C compiler. This also cleans up x86emu/types.h significantly by dropping all the duplicate types in there. Change-Id: I0bf289e149ed02e5170751c101adc335b849a410 Signed-off-by: Stefan Reinauer <reinauer@google.com> Reviewed-on: http://review.coreboot.org/3226 Reviewed-by: Ronald G. Minnich <rminnich@gmail.com> Tested-by: build bot (Jenkins)
Diffstat (limited to 'src/include/cpu/amd/multicore.h')
-rw-r--r--src/include/cpu/amd/multicore.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/include/cpu/amd/multicore.h b/src/include/cpu/amd/multicore.h
index e06725a1cb..c8712232c9 100644
--- a/src/include/cpu/amd/multicore.h
+++ b/src/include/cpu/amd/multicore.h
@@ -20,20 +20,16 @@
#ifndef CPU_AMD_QUADCORE_H
#define CPU_AMD_QUADCORE_H
-#if defined(__GNUC__)
u32 read_nb_cfg_54(void);
-#endif
struct node_core_id {
u32 nodeid;
u32 coreid;
};
-#if defined(__GNUC__)
// it can be used to get unitid and coreid it running only
struct node_core_id get_node_core_id(u32 nb_cfg_54);
struct node_core_id get_node_core_id_x(void);
-#endif
#if !defined(__PRE_RAM__)
struct device;