diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-09-06 16:27:37 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-09-06 16:27:37 +0000 |
commit | 17c7b6c3fdc48301e50d22cc6138ede16bd1be24 (patch) | |
tree | a5d41b991a151e72663527a96fbc6c494565d65c /target/linux/etrax-2.6/patches/cris/017-uclibc-swab.patch | |
parent | 5389989abaa52926b22f9f030d1481df1e73d745 (diff) |
strip the kernel version suffix from target directories, except for brcm-2.4 (the -2.4 will be included in the board name here). CONFIG_LINUX_<ver>_<board> becomes CONFIG_TARGET_<board>, same for profiles.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8653 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/etrax-2.6/patches/cris/017-uclibc-swab.patch')
-rw-r--r-- | target/linux/etrax-2.6/patches/cris/017-uclibc-swab.patch | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/target/linux/etrax-2.6/patches/cris/017-uclibc-swab.patch b/target/linux/etrax-2.6/patches/cris/017-uclibc-swab.patch deleted file mode 100644 index e9f14e44e4..0000000000 --- a/target/linux/etrax-2.6/patches/cris/017-uclibc-swab.patch +++ /dev/null @@ -1,50 +0,0 @@ -Binary files linux-2.6.19.2.orig/include/linux/byteorder/.swab.h.swp and linux-2.6.19.2/include/linux/byteorder/.swab.h.swp differ -diff -urN linux-2.6.19.2.orig/include/linux/byteorder/swab.h linux-2.6.19.2/include/linux/byteorder/swab.h ---- linux-2.6.19.2.orig/include/linux/byteorder/swab.h 2007-06-02 03:13:27.000000000 +0200 -+++ linux-2.6.19.2/include/linux/byteorder/swab.h 2007-06-02 03:14:52.000000000 +0200 -@@ -20,6 +20,8 @@ - /* casts are necessary for constants, because we never know how for sure - * how U/UL/ULL map to __u16, __u32, __u64. At least not in a portable way. - */ -+ -+#ifndef _BITS_BYTESWAP_H - #define ___swab16(x) \ - ({ \ - __u16 __x = (x); \ -@@ -37,6 +39,8 @@ - (((__u32)(__x) & (__u32)0x00ff0000UL) >> 8) | \ - (((__u32)(__x) & (__u32)0xff000000UL) >> 24) )); \ - }) -+#endif -+ - - #define ___swab64(x) \ - ({ \ -@@ -129,11 +133,13 @@ - # define __swab64(x) __fswab64(x) - #endif /* OPTIMIZE */ - -- -+#ifndef _BITS_BYTESWAP_H - static __inline__ __attribute_const__ __u16 __fswab16(__u16 x) - { - return __arch__swab16(x); - } -+#endif -+ - static __inline__ __u16 __swab16p(const __u16 *x) - { - return __arch__swab16p(x); -@@ -143,10 +149,12 @@ - __arch__swab16s(addr); - } - -+#ifndef _BITS_BYTESWAP_H - static __inline__ __attribute_const__ __u32 __fswab32(__u32 x) - { - return __arch__swab32(x); - } -+#endif - static __inline__ __u32 __swab32p(const __u32 *x) - { - return __arch__swab32p(x); |