Simple fixup for non-SMP linuxbioses

This commit is contained in:
Ronald G. Minnich 2001-10-15 22:59:38 +00:00
parent 49454af63a
commit b890f329df
2 changed files with 4 additions and 2 deletions

View file

@ -269,7 +269,9 @@ void write_smp_table(void *v, unsigned long *processor_map);
#else /* HAVE_MP_TABLE */
#define write_smp_table(v) do {} while(0)
#define CPU_ENABLED 1 /* Processor is available */
#define CPU_BOOTPROCESSOR 2 /* Processor is the BP */
#define write_smp_table(v,p) do {} while(0)
#endif /* HAVE_MP_TABLE */
#endif

View file

@ -9,7 +9,7 @@ int start_cpu(int processor_id);
void startup_other_cpus(unsigned long *processor_map);
#else
#define this_processors_id() 0
#define startup_other_cpus() do {} while(0)
#define startup_other_cpus(p) do {} while(0)
#endif
#endif /* SMP_START_STOP_H */