summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorKanoj Sarcar <kanoj@engr.sgi.com>2000-06-02 02:54:57 +0000
committerKanoj Sarcar <kanoj@engr.sgi.com>2000-06-02 02:54:57 +0000
commitc3ca47d82249494d78411059037a21b1f5601a70 (patch)
treed60153710eadf42bcb98e3726872356722e4cf97 /include
parenta916eb8bd34f611c149dc6d15addfb158dda2333 (diff)
Most of the kernel arrays/data structures and low level procedures
now accept the kernel assigned cpuid (instead of the prom assigned id) as input/index. The only exception is the early boot up code.
Diffstat (limited to 'include')
-rw-r--r--include/asm-mips64/sn/addrs.h2
-rw-r--r--include/asm-mips64/sn/sn_private.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/include/asm-mips64/sn/addrs.h b/include/asm-mips64/sn/addrs.h
index 225adb30c..ab7719a3d 100644
--- a/include/asm-mips64/sn/addrs.h
+++ b/include/asm-mips64/sn/addrs.h
@@ -145,7 +145,7 @@
#define UALIAS_FLIP_BASE UALIAS_BASE
#define UALIAS_FLIP_SIZE 0x20000
#define UALIAS_FLIP_BIT 0x10000
-#define UALIAS_FLIP_ADDR(_x) (cputoslice(getcpuid()) ? \
+#define UALIAS_FLIP_ADDR(_x) (cputoslice(smp_processor_id()) ? \
(_x) ^ UALIAS_FLIP_BIT : (_x))
#define LBOOT_BASE (HSPEC_BASE + 0x10000000)
diff --git a/include/asm-mips64/sn/sn_private.h b/include/asm-mips64/sn/sn_private.h
index 08d31c90b..bb84f16b8 100644
--- a/include/asm-mips64/sn/sn_private.h
+++ b/include/asm-mips64/sn/sn_private.h
@@ -2,5 +2,5 @@ extern cnodeid_t get_compact_nodeid(void);
extern void hub_rtc_init(cnodeid_t);
extern void cpu_time_init(void);
extern void per_cpu_init(void);
-extern void install_cpuintr(cpuid_t cpu);
-extern void install_tlbintr(cpuid_t cpu);
+extern void install_cpuintr(int cpu);
+extern void install_tlbintr(int cpu);