aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sh')
-rw-r--r--arch/sh/kernel/sh_ksyms_32.c4
-rw-r--r--arch/sh/lib/udivsi3-Os.S4
-rw-r--r--arch/sh/lib/udivsi3.S4
3 files changed, 12 insertions, 0 deletions
diff --git a/arch/sh/kernel/sh_ksyms_32.c b/arch/sh/kernel/sh_ksyms_32.c
index 9c5ae7b9cd98..490c40218ed7 100644
--- a/arch/sh/kernel/sh_ksyms_32.c
+++ b/arch/sh/kernel/sh_ksyms_32.c
@@ -53,6 +53,8 @@ EXPORT_SYMBOL(__const_udelay);
53#define DECLARE_EXPORT(name) \ 53#define DECLARE_EXPORT(name) \
54 extern void name(void);EXPORT_SYMBOL(name) 54 extern void name(void);EXPORT_SYMBOL(name)
55 55
56DECLARE_EXPORT(__udivsi3);
57DECLARE_EXPORT(__sdivsi3);
56DECLARE_EXPORT(__lshrsi3); 58DECLARE_EXPORT(__lshrsi3);
57DECLARE_EXPORT(__ashrsi3); 59DECLARE_EXPORT(__ashrsi3);
58DECLARE_EXPORT(__ashlsi3); 60DECLARE_EXPORT(__ashlsi3);
@@ -92,6 +94,8 @@ DECLARE_EXPORT(__movstr_i4_even);
92DECLARE_EXPORT(__movstr_i4_odd); 94DECLARE_EXPORT(__movstr_i4_odd);
93DECLARE_EXPORT(__movstrSI12_i4); 95DECLARE_EXPORT(__movstrSI12_i4);
94DECLARE_EXPORT(__udiv_qrnnd_16); 96DECLARE_EXPORT(__udiv_qrnnd_16);
97DECLARE_EXPORT(__sdivsi3_i4);
98DECLARE_EXPORT(__udivsi3_i4);
95DECLARE_EXPORT(__sdivsi3_i4i); 99DECLARE_EXPORT(__sdivsi3_i4i);
96DECLARE_EXPORT(__udivsi3_i4i); 100DECLARE_EXPORT(__udivsi3_i4i);
97 101
diff --git a/arch/sh/lib/udivsi3-Os.S b/arch/sh/lib/udivsi3-Os.S
index 2bed76587f1e..110c5ea769e0 100644
--- a/arch/sh/lib/udivsi3-Os.S
+++ b/arch/sh/lib/udivsi3-Os.S
@@ -40,7 +40,9 @@ Boston, MA 02110-1301, USA. */
40 of two more cycles. */ 40 of two more cycles. */
41 .balign 4 41 .balign 4
42 .global __udivsi3_i4i 42 .global __udivsi3_i4i
43 .global __udivsi3_i4
43 .global __udivsi3 44 .global __udivsi3
45 .set __udivsi3_i4, __udivsi3_i4i
44 .set __udivsi3, __udivsi3_i4i 46 .set __udivsi3, __udivsi3_i4i
45 .type __udivsi3_i4i, @function 47 .type __udivsi3_i4i, @function
46 .type __sdivsi3_i4i, @function 48 .type __sdivsi3_i4i, @function
@@ -105,7 +107,9 @@ sdiv_large_divisor:
105 rotcl r0 107 rotcl r0
106 108
107 .global __sdivsi3_i4i 109 .global __sdivsi3_i4i
110 .global __sdivsi3_i4
108 .global __sdivsi3 111 .global __sdivsi3
112 .set __sdivsi3_i4, __sdivsi3_i4i
109 .set __sdivsi3, __sdivsi3_i4i 113 .set __sdivsi3, __sdivsi3_i4i
110__sdivsi3_i4i: 114__sdivsi3_i4i:
111 mov.l r4,@-r15 115 mov.l r4,@-r15
diff --git a/arch/sh/lib/udivsi3.S b/arch/sh/lib/udivsi3.S
index a810fc6f21d5..388e15d75193 100644
--- a/arch/sh/lib/udivsi3.S
+++ b/arch/sh/lib/udivsi3.S
@@ -56,7 +56,9 @@ Boston, MA 02110-1301, USA. */
56 56
57 .balign 4 57 .balign 4
58 .global __udivsi3_i4i 58 .global __udivsi3_i4i
59 .global __udivsi3_i4
59 .global __udivsi3 60 .global __udivsi3
61 .set __udivsi3_i4, __udivsi3_i4i
60 .set __udivsi3, __udivsi3_i4i 62 .set __udivsi3, __udivsi3_i4i
61 .type __udivsi3_i4i, @function 63 .type __udivsi3_i4i, @function
62__udivsi3_i4i: 64__udivsi3_i4i:
@@ -174,7 +176,9 @@ div_r8_2:
174 rotcl r0 176 rotcl r0
175 177
176 .global __sdivsi3_i4i 178 .global __sdivsi3_i4i
179 .global __sdivsi3_i4
177 .global __sdivsi3 180 .global __sdivsi3
181 .set __sdivsi3_i4, __sdivsi3_i4i
178 .set __sdivsi3, __sdivsi3_i4i 182 .set __sdivsi3, __sdivsi3_i4i
179 .type __sdivsi3_i4i, @function 183 .type __sdivsi3_i4i, @function
180 /* This is link-compatible with a __sdivsi3 call, 184 /* This is link-compatible with a __sdivsi3 call,