Make smp_write_bus static (local scope), to prevent new boards from
authorPatrick Georgi patrick <Patrick Georgi patrick@georgi-clan.de>
Tue, 23 Nov 2010 07:19:54 +0000 (07:19 +0000)
committerPatrick Georgi <patrick.georgi@coresystems.de>
Tue, 23 Nov 2010 07:19:54 +0000 (07:19 +0000)
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

src/arch/i386/boot/mpspec.c
src/arch/i386/include/arch/smp/mpspec.h

index c6946c2a98f1dba43e2c0bb4654a1ad84fb38ed3..70bc5401fdda72ef7d4e4c04e399d03391455d1f 100644 (file)
@@ -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;
index 5dc164748ea48873cf95eb86959a5697476102f0..bc09f485d85879703fff31b31733e57877f4e2f0 100644 (file)
@@ -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);