Commit e45af0e0 authored by Paul Mundt's avatar Paul Mundt

sh64: Kill off unused fixed I/O mapping window.

This was reworked some time ago to go through fixmaps instead, leaving
the range itself unused. As such, kill off the remaining references and
hand over the remaining space for fixmaps directly. This also makes it
possible to simplify the vmalloc fault case as we no longer have to care
about the special section.
Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent 20e7c297
...@@ -96,7 +96,7 @@ extern void __clear_fixmap(enum fixed_addresses idx, pgprot_t flags); ...@@ -96,7 +96,7 @@ extern void __clear_fixmap(enum fixed_addresses idx, pgprot_t flags);
#ifdef CONFIG_SUPERH32 #ifdef CONFIG_SUPERH32
#define FIXADDR_TOP (P3_ADDR_MAX - PAGE_SIZE) #define FIXADDR_TOP (P3_ADDR_MAX - PAGE_SIZE)
#else #else
#define FIXADDR_TOP (0xff000000 - PAGE_SIZE) #define FIXADDR_TOP ((unsigned long)(-PAGE_SIZE))
#endif #endif
#define FIXADDR_SIZE (__end_of_fixed_addresses << PAGE_SHIFT) #define FIXADDR_SIZE (__end_of_fixed_addresses << PAGE_SHIFT)
#define FIXADDR_START (FIXADDR_TOP - FIXADDR_SIZE) #define FIXADDR_START (FIXADDR_TOP - FIXADDR_SIZE)
......
...@@ -87,9 +87,6 @@ static __inline__ void set_pte(pte_t *pteptr, pte_t pteval) ...@@ -87,9 +87,6 @@ static __inline__ void set_pte(pte_t *pteptr, pte_t pteval)
#define pte_unmap(pte) do { } while (0) #define pte_unmap(pte) do { } while (0)
#ifndef __ASSEMBLY__ #ifndef __ASSEMBLY__
#define IOBASE_VADDR 0xff000000
#define IOBASE_END 0xffffffff
/* /*
* PTEL coherent flags. * PTEL coherent flags.
* See Chapter 17 ST50 CPU Core Volume 1, Architecture. * See Chapter 17 ST50 CPU Core Volume 1, Architecture.
......
...@@ -246,8 +246,7 @@ asmlinkage int do_fast_page_fault(unsigned long long ssr_md, ...@@ -246,8 +246,7 @@ asmlinkage int do_fast_page_fault(unsigned long long ssr_md,
tsk = current; tsk = current;
mm = tsk->mm; mm = tsk->mm;
if ((address >= VMALLOC_START && address < VMALLOC_END) || if ((address >= VMALLOC_START && address < VMALLOC_END)) {
(address >= IOBASE_VADDR && address < IOBASE_END)) {
if (ssr_md) if (ssr_md)
/* /*
* Process-contexts can never have this address * Process-contexts can never have this address
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment