sparc32: kill __ret_efault()
authorAl Viro <viro@zeniv.linux.org.uk>
Mon, 26 Dec 2016 01:27:33 +0000 (20:27 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 28 Mar 2017 22:24:00 +0000 (18:24 -0400)
it's unused on 32bit one as well...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
arch/sparc/include/asm/uaccess_32.h
arch/sparc/kernel/head_32.S

index a59a1e81986d9014892dee82ba00be23940ddb89..93910845733a62115606e678e80c444d8c2e0008 100644 (file)
@@ -71,8 +71,6 @@ struct exception_table_entry
 /* Returns 0 if exception not found and fixup otherwise.  */
 unsigned long search_extables_range(unsigned long addr, unsigned long *g2);
 
-void __ret_efault(void);
-
 /* Uh, these should become the main single-value transfer routines..
  * They automatically use the right size if we just have the right
  * pointer type..
index 7bb317b87ddeb4180a1381faa0c89140dc4b7e80..7274e43ff9beabc49df77977f9c097ce6abc2d99 100644 (file)
@@ -809,10 +809,3 @@ lvl14_save:
        .word   0
        .word   0
        .word   t_irq14
-
-        .section        ".fixup",#alloc,#execinstr
-        .globl  __ret_efault
-__ret_efault:
-        ret
-         restore %g0, -EFAULT, %o0
-EXPORT_SYMBOL(__ret_efault)