diff options
Diffstat (limited to 'arch/sh')
-rw-r--r-- | arch/sh/include/asm/fixmap.h | 2 | ||||
-rw-r--r-- | arch/sh/include/asm/pgtable_64.h | 3 | ||||
-rw-r--r-- | arch/sh/mm/fault_64.c | 3 |
3 files changed, 2 insertions, 6 deletions
diff --git a/arch/sh/include/asm/fixmap.h b/arch/sh/include/asm/fixmap.h index 5f1ca55bcec8..41cda1264bb0 100644 --- a/arch/sh/include/asm/fixmap.h +++ b/arch/sh/include/asm/fixmap.h | |||
@@ -96,7 +96,7 @@ extern void __clear_fixmap(enum fixed_addresses idx, pgprot_t flags); | |||
96 | #ifdef CONFIG_SUPERH32 | 96 | #ifdef CONFIG_SUPERH32 |
97 | #define FIXADDR_TOP (P3_ADDR_MAX - PAGE_SIZE) | 97 | #define FIXADDR_TOP (P3_ADDR_MAX - PAGE_SIZE) |
98 | #else | 98 | #else |
99 | #define FIXADDR_TOP (0xff000000 - PAGE_SIZE) | 99 | #define FIXADDR_TOP ((unsigned long)(-PAGE_SIZE)) |
100 | #endif | 100 | #endif |
101 | #define FIXADDR_SIZE (__end_of_fixed_addresses << PAGE_SHIFT) | 101 | #define FIXADDR_SIZE (__end_of_fixed_addresses << PAGE_SHIFT) |
102 | #define FIXADDR_START (FIXADDR_TOP - FIXADDR_SIZE) | 102 | #define FIXADDR_START (FIXADDR_TOP - FIXADDR_SIZE) |
diff --git a/arch/sh/include/asm/pgtable_64.h b/arch/sh/include/asm/pgtable_64.h index 42cb9dd52161..dda8c82601b9 100644 --- a/arch/sh/include/asm/pgtable_64.h +++ b/arch/sh/include/asm/pgtable_64.h | |||
@@ -87,9 +87,6 @@ static __inline__ void set_pte(pte_t *pteptr, pte_t pteval) | |||
87 | #define pte_unmap(pte) do { } while (0) | 87 | #define pte_unmap(pte) do { } while (0) |
88 | 88 | ||
89 | #ifndef __ASSEMBLY__ | 89 | #ifndef __ASSEMBLY__ |
90 | #define IOBASE_VADDR 0xff000000 | ||
91 | #define IOBASE_END 0xffffffff | ||
92 | |||
93 | /* | 90 | /* |
94 | * PTEL coherent flags. | 91 | * PTEL coherent flags. |
95 | * See Chapter 17 ST50 CPU Core Volume 1, Architecture. | 92 | * See Chapter 17 ST50 CPU Core Volume 1, Architecture. |
diff --git a/arch/sh/mm/fault_64.c b/arch/sh/mm/fault_64.c index 44a341029e7b..33a921962d02 100644 --- a/arch/sh/mm/fault_64.c +++ b/arch/sh/mm/fault_64.c | |||
@@ -246,8 +246,7 @@ asmlinkage int do_fast_page_fault(unsigned long long ssr_md, | |||
246 | tsk = current; | 246 | tsk = current; |
247 | mm = tsk->mm; | 247 | mm = tsk->mm; |
248 | 248 | ||
249 | if ((address >= VMALLOC_START && address < VMALLOC_END) || | 249 | if ((address >= VMALLOC_START && address < VMALLOC_END)) { |
250 | (address >= IOBASE_VADDR && address < IOBASE_END)) { | ||
251 | if (ssr_md) | 250 | if (ssr_md) |
252 | /* | 251 | /* |
253 | * Process-contexts can never have this address | 252 | * Process-contexts can never have this address |