mirror of
https://github.com/fail0verflow/switch-coreboot.git
synced 2025-05-04 01:39:18 -04:00
Simple fixup for non-SMP linuxbioses
This commit is contained in:
parent
49454af63a
commit
b890f329df
2 changed files with 4 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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 */
|
||||
|
|
Loading…
Add table
Reference in a new issue