Author: oxygene Date: Tue Nov 23 08:19:54 2010 New Revision: 6118 URL: https://tracker.coreboot.org/trac/coreboot/changeset/6118
Log: 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
Modified: trunk/src/arch/i386/boot/mpspec.c trunk/src/arch/i386/include/arch/smp/mpspec.h
Modified: trunk/src/arch/i386/boot/mpspec.c ============================================================================== --- trunk/src/arch/i386/boot/mpspec.c Mon Nov 22 23:00:52 2010 (r6117) +++ trunk/src/arch/i386/boot/mpspec.c Tue Nov 23 08:19:54 2010 (r6118) @@ -157,7 +157,7 @@ } }
-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;
Modified: trunk/src/arch/i386/include/arch/smp/mpspec.h ============================================================================== --- trunk/src/arch/i386/include/arch/smp/mpspec.h Mon Nov 22 23:00:52 2010 (r6117) +++ trunk/src/arch/i386/include/arch/smp/mpspec.h Tue Nov 23 08:19:54 2010 (r6118) @@ -243,8 +243,6 @@ 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);