]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/sparc64/kernel/head.S
[SPARC64]: Fix fault handling in unaligned trap handler.
[linux-2.6-omap-h63xx.git] / arch / sparc64 / kernel / head.S
index ecc748fb9ad74b70cb6295dc4fde6fe7bc5376b5..89406f9649a9cf6ed4f3d7d995bb38484e780c39 100644 (file)
@@ -540,8 +540,11 @@ bootup_user_stack_end:
 prom_tba:      .xword  0
 tlb_type:      .word   0       /* Must NOT end up in BSS */
        .section        ".fixup",#alloc,#execinstr
-       .globl  __ret_efault
+
+       .globl  __ret_efault, __retl_efault
 __ret_efault:
        ret
         restore %g0, -EFAULT, %o0
-
+__retl_efault:
+       retl
+        mov    -EFAULT, %o0