summaryrefslogtreecommitdiffstats
path: root/include/asm-mips64/sn
diff options
context:
space:
mode:
authorKanoj Sarcar <kanoj@engr.sgi.com>2000-09-18 21:44:45 +0000
committerKanoj Sarcar <kanoj@engr.sgi.com>2000-09-18 21:44:45 +0000
commit624d6c2c693ea7709b991d0af6356844efe7df2f (patch)
tree994ea3821268d1e7d35e6b7d67876fbba4c03b04 /include/asm-mips64/sn
parent8c63c18993342392cec181727aadbab2937e2380 (diff)
Pass the loader script file thru cpp for CONFIG_MAPPED_KERNEL support.
Diffstat (limited to 'include/asm-mips64/sn')
-rw-r--r--include/asm-mips64/sn/mapped_kernel.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-mips64/sn/mapped_kernel.h b/include/asm-mips64/sn/mapped_kernel.h
index 373be38d4..536a1edbb 100644
--- a/include/asm-mips64/sn/mapped_kernel.h
+++ b/include/asm-mips64/sn/mapped_kernel.h
@@ -39,11 +39,13 @@
#define MAPPED_KERN_RW_TO_PHYS(x) \
((unsigned long)MAPPED_ADDR_RW_TO_PHYS(x) | \
MAPPED_KERN_RW_PHYSBASE(get_compact_nodeid()))
+#define MAPPED_OFFSET 16777216
#else /* CONFIG_MAPPED_KERNEL */
#define MAPPED_KERN_RO_TO_PHYS(x) (x - CKSEG0)
#define MAPPED_KERN_RW_TO_PHYS(x) (x - CKSEG0)
+#define MAPPED_OFFSET 0
#endif /* CONFIG_MAPPED_KERNEL */