linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git] / include / asm-mips / sn / mapped_kernel.h
index c3dd5d0..3a17846 100644 (file)
  * code. So no jumps can be done before we have switched to using
  * cksseg addresses.
  */
+#include <linux/config.h>
 #include <asm/addrspace.h>
 
+#ifdef CONFIG_BUILD_ELF64
 #define REP_BASE       CAC_BASE
+#else
+#define REP_BASE       CKSEG0
+#endif
 
 #ifdef CONFIG_MAPPED_KERNEL