]> git.karo-electronics.de Git - linux-beck.git/commitdiff
xtensa: fix missing return in do_page_fault for SIGBUS case
authorMarc Gauthier <marc@tensilica.com>
Sun, 14 Oct 2012 23:55:36 +0000 (03:55 +0400)
committerChris Zankel <chris@zankel.net>
Tue, 16 Oct 2012 04:42:52 +0000 (21:42 -0700)
Signed-off-by: Marc Gauthier <marc@tensilica.com>
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Chris Zankel <chris@zankel.net>
arch/xtensa/mm/fault.c

index 2c2f710ed1dc905a8c9e0509d36cd76ed073e0ce..245b08f7eaf4bb98fd3a731c7f6d329214a5b55a 100644 (file)
@@ -6,7 +6,7 @@
  * License.  See the file "COPYING" in the main directory of this archive
  * for more details.
  *
- * Copyright (C) 2001 - 2005 Tensilica Inc.
+ * Copyright (C) 2001 - 2010 Tensilica Inc.
  *
  * Chris Zankel <chris@zankel.net>
  * Joe Taylor  <joe@tensilica.com, joetylr@yahoo.com>
@@ -186,6 +186,7 @@ do_sigbus:
        /* Kernel mode? Handle exceptions or die */
        if (!user_mode(regs))
                bad_page_fault(regs, address, SIGBUS);
+       return;
 
 vmalloc_fault:
        {