diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2016-12-25 20:27:33 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2017-03-28 18:24:00 -0400 |
commit | 1333eb785614779b2000e547bd32aef85c22ca7a (patch) | |
tree | e44c553f1e6ee540dfe5f46040034935bbddd5a0 /arch/sparc | |
parent | d597580d373774b1bdab84b3d26ff0b55162b916 (diff) |
sparc32: kill __ret_efault()
it's unused on 32bit one as well...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/sparc')
-rw-r--r-- | arch/sparc/include/asm/uaccess_32.h | 2 | ||||
-rw-r--r-- | arch/sparc/kernel/head_32.S | 7 |
2 files changed, 0 insertions, 9 deletions
diff --git a/arch/sparc/include/asm/uaccess_32.h b/arch/sparc/include/asm/uaccess_32.h index a59a1e81986d..93910845733a 100644 --- a/arch/sparc/include/asm/uaccess_32.h +++ b/arch/sparc/include/asm/uaccess_32.h | |||
@@ -71,8 +71,6 @@ struct exception_table_entry | |||
71 | /* Returns 0 if exception not found and fixup otherwise. */ | 71 | /* Returns 0 if exception not found and fixup otherwise. */ |
72 | unsigned long search_extables_range(unsigned long addr, unsigned long *g2); | 72 | unsigned long search_extables_range(unsigned long addr, unsigned long *g2); |
73 | 73 | ||
74 | void __ret_efault(void); | ||
75 | |||
76 | /* Uh, these should become the main single-value transfer routines.. | 74 | /* Uh, these should become the main single-value transfer routines.. |
77 | * They automatically use the right size if we just have the right | 75 | * They automatically use the right size if we just have the right |
78 | * pointer type.. | 76 | * pointer type.. |
diff --git a/arch/sparc/kernel/head_32.S b/arch/sparc/kernel/head_32.S index 7bb317b87dde..7274e43ff9be 100644 --- a/arch/sparc/kernel/head_32.S +++ b/arch/sparc/kernel/head_32.S | |||
@@ -809,10 +809,3 @@ lvl14_save: | |||
809 | .word 0 | 809 | .word 0 |
810 | .word 0 | 810 | .word 0 |
811 | .word t_irq14 | 811 | .word t_irq14 |
812 | |||
813 | .section ".fixup",#alloc,#execinstr | ||
814 | .globl __ret_efault | ||
815 | __ret_efault: | ||
816 | ret | ||
817 | restore %g0, -EFAULT, %o0 | ||
818 | EXPORT_SYMBOL(__ret_efault) | ||