summaryrefslogtreecommitdiff
path: root/arch/sparc/mm/fault_32.c
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2012-05-11 15:35:08 +0400
committerDavid S. Miller <davem@davemloft.net>2012-05-12 06:27:48 +0400
commit582a0baee57b3fd66222f6f922e6fcf4cadb7765 (patch)
treee29383d045ae4097cb045c2611c82fc43d0dbcec /arch/sparc/mm/fault_32.c
parent593fc6ea47882e5953f820ab24a8618f20f0a5c0 (diff)
downloadlinux-582a0baee57b3fd66222f6f922e6fcf4cadb7765.tar.xz
sparc32: remove all uses of ARCH_SUN4C
Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/mm/fault_32.c')
-rw-r--r--arch/sparc/mm/fault_32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc/mm/fault_32.c b/arch/sparc/mm/fault_32.c
index 734812105266..a0f4db9d3a4f 100644
--- a/arch/sparc/mm/fault_32.c
+++ b/arch/sparc/mm/fault_32.c
@@ -235,7 +235,7 @@ asmlinkage void do_sparc_fault(struct pt_regs *regs, int text_fault, int write,
* nothing more.
*/
code = SEGV_MAPERR;
- if (!ARCH_SUN4C && address >= TASK_SIZE)
+ if (address >= TASK_SIZE)
goto vmalloc_fault;
/*