]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-sh/addrspace.h
[PATCH] unwinder: move .eh_frame to RODATA
[linux-2.6-omap-h63xx.git] / include / asm-sh / addrspace.h
index dbb05d1a26d18f4e330ce773c5245304a589b9ce..b860218e402e88622a311a6036424f1ba3e6aa19 100644 (file)
 
 #include <asm/cpu/addrspace.h>
 
-/* Memory segments (32bit Priviledged mode addresses)  */
+/* Memory segments (32bit Privileged mode addresses)  */
+#ifndef CONFIG_CPU_SH2A
 #define P0SEG          0x00000000
 #define P1SEG          0x80000000
 #define P2SEG          0xa0000000
 #define P3SEG          0xc0000000
 #define P4SEG          0xe0000000
+#else
+#define P0SEG          0x00000000
+#define P1SEG          0x00000000
+#define P2SEG          0x20000000
+#define P3SEG          0x00000000
+#define P4SEG          0x80000000
+#endif
 
 /* Returns the privileged segment base of a given address  */
 #define PXSEG(a)       (((unsigned long)(a)) & 0xe0000000)