powerpc: Various UP build fixes

Mostly this involves adding #include <asm/smp.h>, since that defines
things like boot_cpuid[_phys] and [gs]et_hard_smp_processor_id, which
are SMP-related but still needed on UP.  This incorporates fixes
posted by Olof Johansson and Heikki Lindholm.

Signed-off-by: Paul Mackerras <paulus@samba.org>
Tento commit je obsažen v:
Paul Mackerras
2005-11-07 13:18:13 +11:00
rodič dcad47fc42
revize 2249ca9d60
11 změnil soubory, kde provedl 12 přidání a 7 odebrání

Zobrazit soubor

@@ -21,6 +21,7 @@
#include <asm/machdep.h>
#include <asm/abs_addr.h>
#include <asm/system.h>
#include <asm/smp.h>
static int numa_enabled = 1;