diff options
author | Paul Mundt <lethal@linux-sh.org> | 2012-05-18 12:30:05 +0200 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2012-05-18 12:30:05 +0200 |
commit | c3e0af98792f9f1c840dc969f883e46d0ced3e00 (patch) | |
tree | 4e84c35e704337aec0fef7d7f824f14f6d230d61 /arch/sh/mm | |
parent | serial: sh-sci: Fix for port types without BRI interrupts. (diff) | |
download | linux-c3e0af98792f9f1c840dc969f883e46d0ced3e00.tar.xz linux-c3e0af98792f9f1c840dc969f883e46d0ced3e00.zip |
Revert "sh: Ensure fixmap and store queue space can co-exist."
This reverts commit 20e7c297efeca0861adcca073a0d283da659834b.
With store queues enabled the area above P4SEG has special properties
from the MMU's point of view, which was causing fixmap failure. We'll
have to do something else to satisfy the vmalloc range check.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/mm')
-rw-r--r-- | arch/sh/mm/fault.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sh/mm/fault.c b/arch/sh/mm/fault.c index 16799f920f90..b0345f09c197 100644 --- a/arch/sh/mm/fault.c +++ b/arch/sh/mm/fault.c @@ -169,8 +169,8 @@ static noinline int vmalloc_fault(unsigned long address) pmd_t *pmd_k; pte_t *pte_k; - /* Make sure we are in vmalloc/module area: */ - if (!is_vmalloc_addr((void *)address)) + /* Make sure we are in vmalloc/module/P3 area: */ + if (!(address >= P3SEG && address < P3_ADDR_MAX)) return -1; /* |