summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Georgi patrick <Patrick Georgi patrick@georgi-clan.de>2010-11-23 07:19:54 +0000
committerPatrick Georgi <patrick.georgi@coresystems.de>2010-11-23 07:19:54 +0000
commit612fcc3955ff238a6c35b96198ee85d82692ffa0 (patch)
tree86c4489ddf8fb352c1bd88be044b93a82e7fb6d2
parentbcaea142f344389ed0c1857f53b7c8556a804c8d (diff)
downloadcoreboot-612fcc3955ff238a6c35b96198ee85d82692ffa0.tar.xz
Make smp_write_bus static (local scope), to prevent new boards from
using it directly again. Signed-off-by: Patrick Georgi <patrick@georgi-clan.de Acked-by: Uwe Hermann <uwe@hermann-uwe.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6118 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
-rw-r--r--src/arch/i386/boot/mpspec.c2
-rw-r--r--src/arch/i386/include/arch/smp/mpspec.h2
2 files changed, 1 insertions, 3 deletions
diff --git a/src/arch/i386/boot/mpspec.c b/src/arch/i386/boot/mpspec.c
index c6946c2a98..70bc5401fd 100644
--- a/src/arch/i386/boot/mpspec.c
+++ b/src/arch/i386/boot/mpspec.c
@@ -157,7 +157,7 @@ void smp_write_processors(struct mp_config_table *mc)
}
}
-void smp_write_bus(struct mp_config_table *mc,
+static void smp_write_bus(struct mp_config_table *mc,
unsigned char id, const char *bustype)
{
struct mpc_config_bus *mpc;
diff --git a/src/arch/i386/include/arch/smp/mpspec.h b/src/arch/i386/include/arch/smp/mpspec.h
index 5dc164748e..bc09f485d8 100644
--- a/src/arch/i386/include/arch/smp/mpspec.h
+++ b/src/arch/i386/include/arch/smp/mpspec.h
@@ -243,8 +243,6 @@ void smp_write_processor(struct mp_config_table *mc,
unsigned char cpuflag, unsigned int cpufeature,
unsigned int featureflag);
void smp_write_processors(struct mp_config_table *mc);
-void smp_write_bus(struct mp_config_table *mc,
- unsigned char id, const char *bustype);
void smp_write_ioapic(struct mp_config_table *mc,
unsigned char id, unsigned char ver,
unsigned long apicaddr);