diff options
author | Koen Kooi <koen@openembedded.org> | 2005-06-30 08:19:37 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2005-06-30 08:19:37 +0000 |
commit | c8e5702127e507e82e6f68a4b8c546803accea9d (patch) | |
tree | 00583491f40ecc640f2b28452af995e3a63a09d7 /packages/linux/nslu2-linksys-kernel-2.4.22/double_cpdo.patch | |
parent | 87ec8ca4d2e2eb4d1c1e1e1a6b46a395d56805b9 (diff) |
import clean BK tree at cset 1.3670
Diffstat (limited to 'packages/linux/nslu2-linksys-kernel-2.4.22/double_cpdo.patch')
-rw-r--r-- | packages/linux/nslu2-linksys-kernel-2.4.22/double_cpdo.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/packages/linux/nslu2-linksys-kernel-2.4.22/double_cpdo.patch b/packages/linux/nslu2-linksys-kernel-2.4.22/double_cpdo.patch index e69de29bb2..4069358db8 100644 --- a/packages/linux/nslu2-linksys-kernel-2.4.22/double_cpdo.patch +++ b/packages/linux/nslu2-linksys-kernel-2.4.22/double_cpdo.patch @@ -0,0 +1,27 @@ +--- linux-2.6.9-rc3-ds1.commit/arch/arm/nwfpe/double_cpdo.c 2004-08-14 07:36:11.000000000 +0200 ++++ linux-2.6.9-rc3-ds1.snap/arch/arm/nwfpe/double_cpdo.c 2004-10-10 20:29:15.514512796 +0200 +@@ -75,7 +75,11 @@ + union float64_components u; + + u.f64 = rFm; ++#ifdef __ARMEB__ ++ u.i[0] ^= 0x80000000; ++#else + u.i[1] ^= 0x80000000; ++#endif + + return u.f64; + } +@@ -85,7 +89,11 @@ + union float64_components u; + + u.f64 = rFm; ++#ifdef __ARMEB__ ++ u.i[0] &= 0x7fffffff; ++#else + u.i[1] &= 0x7fffffff; ++#endif + + return u.f64; + } + |