[SPARC64]: Fix fault handling in unaligned trap handler.
authorDavid S. Miller <davem@sunset.davemloft.net>
Thu, 29 Sep 2005 03:41:45 +0000 (20:41 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Thu, 29 Sep 2005 03:41:45 +0000 (20:41 -0700)
commit5fd29752f09cabff582f65c0ce35518db4c64937
treeb46e5c2c596d26125a7c2aac619fe1b52431f978
parent8cf14af0a740fb7e9f94a203b5a989beb875d58f
[SPARC64]: Fix fault handling in unaligned trap handler.

We were not calling kernel_mna_trap_fault() correctly.
Instead of being fancy, just return 0 vs. -EFAULT from
the assembler stubs, and handle that return value as
appropriate.

Create an "__retl_efault" stub for assembler exception
table entries and use it where possible.

Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc64/kernel/head.S
arch/sparc64/kernel/sys32.S
arch/sparc64/kernel/una_asm.S
arch/sparc64/kernel/unaligned.c
arch/sparc64/lib/strncpy_from_user.S
include/asm-sparc64/uaccess.h