Browse Source

sparc32: kill __ret_efault()

it's unused on 32bit one as well...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Al Viro 8 years ago
parent
commit
1333eb7856
2 changed files with 0 additions and 9 deletions
  1. 0 2
      arch/sparc/include/asm/uaccess_32.h
  2. 0 7
      arch/sparc/kernel/head_32.S

+ 0 - 2
arch/sparc/include/asm/uaccess_32.h

@@ -71,8 +71,6 @@ struct exception_table_entry
 /* Returns 0 if exception not found and fixup otherwise.  */
 /* Returns 0 if exception not found and fixup otherwise.  */
 unsigned long search_extables_range(unsigned long addr, unsigned long *g2);
 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..
 /* Uh, these should become the main single-value transfer routines..
  * They automatically use the right size if we just have the right
  * They automatically use the right size if we just have the right
  * pointer type..
  * pointer type..

+ 0 - 7
arch/sparc/kernel/head_32.S

@@ -809,10 +809,3 @@ lvl14_save:
 	.word	0
 	.word	0
 	.word	0
 	.word	0
 	.word	t_irq14
 	.word	t_irq14
-
-        .section        ".fixup",#alloc,#execinstr
-        .globl  __ret_efault
-__ret_efault:
-        ret
-         restore %g0, -EFAULT, %o0
-EXPORT_SYMBOL(__ret_efault)