]> git.hungrycats.org Git - linux/commitdiff
sparc64: Delete __ret_efault.
authorDavid S. Miller <davem@davemloft.net>
Wed, 10 Aug 2016 21:41:33 +0000 (14:41 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 21 Nov 2016 09:11:37 +0000 (10:11 +0100)
[ Upstream commit aa95ce361ed95c72ac42dcb315166bce5cf1a014 ]

It is completely unused.

Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/sparc/include/asm/uaccess_64.h
arch/sparc/kernel/head_64.S
arch/sparc/kernel/sparc_ksyms_64.c

index 37a315d0ddd4b205c8a54d77c354d7cb116aba15..1feee515feaf5b0bcb072b05c329344604140873 100644 (file)
@@ -98,7 +98,6 @@ struct exception_table_entry {
         unsigned int insn, fixup;
 };
 
-void __ret_efault(void);
 void __retl_efault(void);
 
 /* Uh, these should become the main single-value transfer routines..
index a076b4249e622a4ebfe47eab6c9bcd7cb98b36ce..975c32cddb2ad8e8ad505c0d9006da49a12b3192 100644 (file)
@@ -922,12 +922,7 @@ prom_tba:  .xword  0
 tlb_type:      .word   0       /* Must NOT end up in BSS */
        .section        ".fixup",#alloc,#execinstr
 
-       .globl  __ret_efault, __retl_efault, __ret_one, __retl_one
-ENTRY(__ret_efault)
-       ret
-        restore %g0, -EFAULT, %o0
-ENDPROC(__ret_efault)
-
+       .globl  __retl_efault, __ret_one, __retl_one
 ENTRY(__retl_efault)
        retl
         mov    -EFAULT, %o0
index 9e034f29dcc52208ca98a648e028f955f7c8f882..20ffb052fe3810725d42bd7a59c1153070597aec 100644 (file)
@@ -27,7 +27,6 @@ EXPORT_SYMBOL(__flushw_user);
 EXPORT_SYMBOL_GPL(real_hard_smp_processor_id);
 
 /* from head_64.S */
-EXPORT_SYMBOL(__ret_efault);
 EXPORT_SYMBOL(tlb_type);
 EXPORT_SYMBOL(sun4v_chip_type);
 EXPORT_SYMBOL(prom_root_node);