From 10099fa9c44a385f4293ffa4f4b3d09dedf06b56 Mon Sep 17 00:00:00 2001 From: Paul Mundt Date: Thu, 8 Nov 2007 18:55:39 +0900 Subject: [PATCH] --- yaml --- r: 77678 b: refs/heads/master c: 5a4a5bd127c147aaa16aefef856f4cb28e92cec1 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/include/asm-sh/fixmap.h | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 979c81c50243..53add53e32b7 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 34cd6d3ab47284dbebea03585ead6a0d5671b75c +refs/heads/master: 5a4a5bd127c147aaa16aefef856f4cb28e92cec1 diff --git a/trunk/include/asm-sh/fixmap.h b/trunk/include/asm-sh/fixmap.h index 8a566177ad96..09463cd9bbb9 100644 --- a/trunk/include/asm-sh/fixmap.h +++ b/trunk/include/asm-sh/fixmap.h @@ -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)