diff options
author | Jonathan Herman <hermanjl@cs.unc.edu> | 2013-01-17 16:15:55 -0500 |
---|---|---|
committer | Jonathan Herman <hermanjl@cs.unc.edu> | 2013-01-17 16:15:55 -0500 |
commit | 8dea78da5cee153b8af9c07a2745f6c55057fe12 (patch) | |
tree | a8f4d49d63b1ecc92f2fddceba0655b2472c5bd9 /arch/arm/lib/div64.S | |
parent | 406089d01562f1e2bf9f089fd7637009ebaad589 (diff) |
Patched in Tegra support.
Diffstat (limited to 'arch/arm/lib/div64.S')
-rw-r--r-- | arch/arm/lib/div64.S | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/arm/lib/div64.S b/arch/arm/lib/div64.S index e55c4842c29..faa7748142d 100644 --- a/arch/arm/lib/div64.S +++ b/arch/arm/lib/div64.S | |||
@@ -13,7 +13,6 @@ | |||
13 | */ | 13 | */ |
14 | 14 | ||
15 | #include <linux/linkage.h> | 15 | #include <linux/linkage.h> |
16 | #include <asm/unwind.h> | ||
17 | 16 | ||
18 | #ifdef __ARMEB__ | 17 | #ifdef __ARMEB__ |
19 | #define xh r0 | 18 | #define xh r0 |
@@ -45,7 +44,6 @@ | |||
45 | */ | 44 | */ |
46 | 45 | ||
47 | ENTRY(__do_div64) | 46 | ENTRY(__do_div64) |
48 | UNWIND(.fnstart) | ||
49 | 47 | ||
50 | @ Test for easy paths first. | 48 | @ Test for easy paths first. |
51 | subs ip, r4, #1 | 49 | subs ip, r4, #1 |
@@ -191,12 +189,7 @@ UNWIND(.fnstart) | |||
191 | moveq yh, xh | 189 | moveq yh, xh |
192 | moveq xh, #0 | 190 | moveq xh, #0 |
193 | moveq pc, lr | 191 | moveq pc, lr |
194 | UNWIND(.fnend) | ||
195 | 192 | ||
196 | UNWIND(.fnstart) | ||
197 | UNWIND(.pad #4) | ||
198 | UNWIND(.save {lr}) | ||
199 | Ldiv0_64: | ||
200 | @ Division by 0: | 193 | @ Division by 0: |
201 | str lr, [sp, #-8]! | 194 | str lr, [sp, #-8]! |
202 | bl __div0 | 195 | bl __div0 |
@@ -207,5 +200,4 @@ Ldiv0_64: | |||
207 | mov xh, #0 | 200 | mov xh, #0 |
208 | ldr pc, [sp], #8 | 201 | ldr pc, [sp], #8 |
209 | 202 | ||
210 | UNWIND(.fnend) | ||
211 | ENDPROC(__do_div64) | 203 | ENDPROC(__do_div64) |