]> Pileus Git - ~andy/linux/blobdiff - include/asm-sh/fixmap.h
sh: Fix up fixmap location for SH-5.
[~andy/linux] / include / asm-sh / fixmap.h
index 8a566177ad9681126d34d76136b4cc0fbd786fd5..09463cd9bbb9389e27dbcb12ce72ac0c8370257e 100644 (file)
@@ -73,7 +73,11 @@ extern void __set_fixmap(enum fixed_addresses idx,
  * the start of the fixmap, and leave one page empty
  * at the top of mem..
  */
+#ifdef CONFIG_SUPERH32
 #define FIXADDR_TOP    (P4SEG - PAGE_SIZE)
+#else
+#define FIXADDR_TOP    (0xff000000 - PAGE_SIZE)
+#endif
 #define FIXADDR_SIZE   (__end_of_fixed_addresses << PAGE_SHIFT)
 #define FIXADDR_START  (FIXADDR_TOP - FIXADDR_SIZE)