diff options
Diffstat (limited to 'arch/sparc/mm')
-rw-r--r-- | arch/sparc/mm/fault_32.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/sparc/mm/fault_32.c b/arch/sparc/mm/fault_32.c index 5b836f5aea90..b10ac4d62378 100644 --- a/arch/sparc/mm/fault_32.c +++ b/arch/sparc/mm/fault_32.c | |||
@@ -240,11 +240,10 @@ asmlinkage void do_sparc_fault(struct pt_regs *regs, int text_fault, int write, | |||
240 | * only copy the information from the master page table, | 240 | * only copy the information from the master page table, |
241 | * nothing more. | 241 | * nothing more. |
242 | */ | 242 | */ |
243 | code = SEGV_MAPERR; | ||
243 | if (!ARCH_SUN4C && address >= TASK_SIZE) | 244 | if (!ARCH_SUN4C && address >= TASK_SIZE) |
244 | goto vmalloc_fault; | 245 | goto vmalloc_fault; |
245 | 246 | ||
246 | code = SEGV_MAPERR; | ||
247 | |||
248 | /* | 247 | /* |
249 | * If we're in an interrupt or have no user | 248 | * If we're in an interrupt or have no user |
250 | * context, we must not take the fault.. | 249 | * context, we must not take the fault.. |