|
@@ -802,8 +802,10 @@ do_sigbus(struct pt_regs *regs, unsigned long error_code, unsigned long address,
|
|
up_read(&mm->mmap_sem);
|
|
up_read(&mm->mmap_sem);
|
|
|
|
|
|
/* Kernel mode? Handle exceptions or die: */
|
|
/* Kernel mode? Handle exceptions or die: */
|
|
- if (!(error_code & PF_USER))
|
|
|
|
|
|
+ if (!(error_code & PF_USER)) {
|
|
no_context(regs, error_code, address);
|
|
no_context(regs, error_code, address);
|
|
|
|
+ return;
|
|
|
|
+ }
|
|
|
|
|
|
/* User-space => ok to do another page fault: */
|
|
/* User-space => ok to do another page fault: */
|
|
if (is_prefetch(regs, error_code, address))
|
|
if (is_prefetch(regs, error_code, address))
|