diff options
author | David S. Miller <davem@davemloft.net> | 2016-08-10 14:41:33 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-10-24 11:29:25 -0700 |
commit | aa95ce361ed95c72ac42dcb315166bce5cf1a014 (patch) | |
tree | aa364907d739f21fc5fd588a1d6863cb6b01ee5a | |
parent | ee9e83973d54d94ff776892219b723de54429548 (diff) |
sparc64: Delete __ret_efault.
It is completely unused.
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | arch/sparc/include/asm/uaccess_64.h | 1 | ||||
-rw-r--r-- | arch/sparc/kernel/head_64.S | 8 |
2 files changed, 1 insertions, 8 deletions
diff --git a/arch/sparc/include/asm/uaccess_64.h b/arch/sparc/include/asm/uaccess_64.h index b68acc563235..f8518df34b63 100644 --- a/arch/sparc/include/asm/uaccess_64.h +++ b/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; } -void __ret_efault(void); void __retl_efault(void); /* Uh, these should become the main single-value transfer routines.. diff --git a/arch/sparc/kernel/head_64.S b/arch/sparc/kernel/head_64.S index beba6c11554c..603d73654295 100644 --- a/arch/sparc/kernel/head_64.S +++ b/arch/sparc/kernel/head_64.S @@ -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 |