Skip to contentSkip to conversation

sparc64: Delete __ret_efault.

PATCH In review David Miller 1 participant 1 message Oct 25, 2016 SPARC + UltraSPARC (sparc/sparc64)

lore
Share & tools
lore

David Miller

author maintainer
#0 lore raw

PATCH 1/11 sparc64: Delete __ret_efault.

It is completely unused.

---
 arch/sparc/include/asm/uaccess_64.h | 1 -
 arch/sparc/kernel/head_64.S         | 8 +-------
 2 files changed, 1 insertion(+), 8 deletions(-)
arch/sparc/include/asm/uaccess_64.h +0 -1
index b68acc5..f8518df 100644
@@ -82,7 +82,6 @@ static inline int access_ok(int type, const void __user * addr, unsigned long si
 	return 1;
 }
 
-void __ret_efault(void);
 void __retl_efault(void);
 
 /* Uh, these should become the main single-value transfer routines..
arch/sparc/kernel/head_64.S +1 -7
index beba6c1..603d736 100644
@@ -926,13 +926,7 @@ tlb_type:	.word	0	/* Must NOT end up in BSS */
 EXPORT_SYMBOL(tlb_type)
 	.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)
 	retl
 	 mov	-EFAULT, %o0
Signature · 1 line
2.1.2.532.g19b5d50