浏览代码

sparc64: Delete __ret_efault.

It is completely unused.

Signed-off-by: David S. Miller <davem@davemloft.net>
David S. Miller 9 年之前
父节点
当前提交
aa95ce361e
共有 2 个文件被更改,包括 1 次插入8 次删除
  1. 0 1
      arch/sparc/include/asm/uaccess_64.h
  2. 1 7
      arch/sparc/kernel/head_64.S

+ 0 - 1
arch/sparc/include/asm/uaccess_64.h

@@ -82,7 +82,6 @@ static inline int access_ok(int type, const void __user * addr, unsigned long si
 	return 1;
 	return 1;
 }
 }
 
 
-void __ret_efault(void);
 void __retl_efault(void);
 void __retl_efault(void);
 
 
 /* Uh, these should become the main single-value transfer routines..
 /* Uh, these should become the main single-value transfer routines..

+ 1 - 7
arch/sparc/kernel/head_64.S

@@ -926,13 +926,7 @@ tlb_type:	.word	0	/* Must NOT end up in BSS */
 EXPORT_SYMBOL(tlb_type)
 EXPORT_SYMBOL(tlb_type)
 	.section	".fixup",#alloc,#execinstr
 	.section	".fixup",#alloc,#execinstr
 
 
-	.globl	__ret_efault, __retl_efault, __ret_one, __retl_one
-ENTRY(__ret_efault)
-	ret
-	 restore %g0, -EFAULT, %o0
-ENDPROC(__ret_efault)
-EXPORT_SYMBOL(__ret_efault)
-
+	.globl	__retl_efault, __ret_one, __retl_one
 ENTRY(__retl_efault)
 ENTRY(__retl_efault)
 	retl
 	retl
 	 mov	-EFAULT, %o0
 	 mov	-EFAULT, %o0