]> git.karo-electronics.de Git - linux-beck.git/commitdiff
sparc64: Delete __ret_efault.
authorDavid S. Miller <davem@davemloft.net>
Wed, 10 Aug 2016 21:41:33 +0000 (14:41 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 24 Oct 2016 18:29:25 +0000 (11:29 -0700)
It is completely unused.

Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/include/asm/uaccess_64.h
arch/sparc/kernel/head_64.S

index b68acc563235cc4a4fbffc197ab9e2d107aaae11..f8518df34b6319a0ec447b4eaaf9003d14b0c59d 100644 (file)
@@ -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..
index beba6c11554cb835517f911893819fffd0d8ad9e..603d73654295d6a828b92d730f465eafd252fef3 100644 (file)
@@ -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