diff options
Diffstat (limited to 'arch/arm/lib/ucmpdi2.S')
-rw-r--r-- | arch/arm/lib/ucmpdi2.S | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm/lib/ucmpdi2.S b/arch/arm/lib/ucmpdi2.S index 112630f93e5d..d847a62834cb 100644 --- a/arch/arm/lib/ucmpdi2.S +++ b/arch/arm/lib/ucmpdi2.S | |||
@@ -10,6 +10,7 @@ | |||
10 | * published by the Free Software Foundation. | 10 | * published by the Free Software Foundation. |
11 | */ | 11 | */ |
12 | 12 | ||
13 | #include <linux/config.h> | ||
13 | #include <linux/linkage.h> | 14 | #include <linux/linkage.h> |
14 | 15 | ||
15 | #ifdef __ARMEB__ | 16 | #ifdef __ARMEB__ |
@@ -33,3 +34,16 @@ ENTRY(__ucmpdi2) | |||
33 | movhi r0, #2 | 34 | movhi r0, #2 |
34 | mov pc, lr | 35 | mov pc, lr |
35 | 36 | ||
37 | #ifdef CONFIG_AEABI | ||
38 | |||
39 | ENTRY(__aeabi_ulcmp) | ||
40 | |||
41 | cmp xh, yh | ||
42 | cmpeq xl, yl | ||
43 | movlo r0, #-1 | ||
44 | moveq r0, #0 | ||
45 | movhi r0, #1 | ||
46 | mov pc, lr | ||
47 | |||
48 | #endif | ||
49 | |||