diff options
author | David S. Miller <davem@davemloft.net> | 2012-05-15 14:23:01 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-05-15 14:23:47 -0400 |
commit | 1b35a57b1c1781f0fc8fc554f732b3a5408c5244 (patch) | |
tree | 80e5616798e0dc5ec138f020e6aa9ae482378462 /arch/sparc/lib/ksyms.c | |
parent | 2119ff6d2bc0dd6a97de1632e50cd7936049738c (diff) |
sparc32: Kill off software 32-bit multiply/divide routines.
For the explicit calls to .udiv/.umul in assembler, I made a
mechanical (read as: safe) transformation. I didn't attempt
to make any simplifications.
In particular, __ndelay and __udelay can be simplified significantly.
Some of the %y reads are unnecessary and these routines have no need
any longer for allocating a register window, they can be leaf
functions.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/lib/ksyms.c')
-rw-r--r-- | arch/sparc/lib/ksyms.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/arch/sparc/lib/ksyms.c b/arch/sparc/lib/ksyms.c index 1bc8972f029f..2dc30875c8bc 100644 --- a/arch/sparc/lib/ksyms.c +++ b/arch/sparc/lib/ksyms.c | |||
@@ -61,16 +61,6 @@ extern void ___rw_read_try(void); | |||
61 | extern void ___rw_read_exit(void); | 61 | extern void ___rw_read_exit(void); |
62 | extern void ___rw_write_enter(void); | 62 | extern void ___rw_write_enter(void); |
63 | 63 | ||
64 | /* Alias functions whose names begin with "." and export the aliases. | ||
65 | * The module references will be fixed up by module_frob_arch_sections. | ||
66 | */ | ||
67 | extern int _Div(int, int); | ||
68 | extern int _Mul(int, int); | ||
69 | extern int _Rem(int, int); | ||
70 | extern unsigned _Udiv(unsigned, unsigned); | ||
71 | extern unsigned _Umul(unsigned, unsigned); | ||
72 | extern unsigned _Urem(unsigned, unsigned); | ||
73 | |||
74 | /* Networking helper routines. */ | 64 | /* Networking helper routines. */ |
75 | EXPORT_SYMBOL(__csum_partial_copy_sparc_generic); | 65 | EXPORT_SYMBOL(__csum_partial_copy_sparc_generic); |
76 | 66 | ||
@@ -95,13 +85,6 @@ EXPORT_SYMBOL(__ashldi3); | |||
95 | EXPORT_SYMBOL(__lshrdi3); | 85 | EXPORT_SYMBOL(__lshrdi3); |
96 | EXPORT_SYMBOL(__muldi3); | 86 | EXPORT_SYMBOL(__muldi3); |
97 | EXPORT_SYMBOL(__divdi3); | 87 | EXPORT_SYMBOL(__divdi3); |
98 | |||
99 | EXPORT_SYMBOL(_Rem); | ||
100 | EXPORT_SYMBOL(_Urem); | ||
101 | EXPORT_SYMBOL(_Mul); | ||
102 | EXPORT_SYMBOL(_Umul); | ||
103 | EXPORT_SYMBOL(_Div); | ||
104 | EXPORT_SYMBOL(_Udiv); | ||
105 | #endif | 88 | #endif |
106 | 89 | ||
107 | /* | 90 | /* |