View | Details | Raw Unified | Return to bug 5409
Collapse All | Expand All

(-)kernel-source-2.6.9/include/linux/byteorder/pdp_endian.h.orig-polluted (+4 lines)
Lines 30-35 Link Here
30
#include <linux/byteorder/swab.h>
30
#include <linux/byteorder/swab.h>
31
#include <linux/byteorder/swabb.h>
31
#include <linux/byteorder/swabb.h>
32
32
33
#if defined(__KERNEL__)
34
33
#define __constant_htonl(x) ___constant_swahb32((x))
35
#define __constant_htonl(x) ___constant_swahb32((x))
34
#define __constant_ntohl(x) ___constant_swahb32((x))
36
#define __constant_ntohl(x) ___constant_swahb32((x))
35
#define __constant_htons(x) ___constant_swab16((x))
37
#define __constant_htons(x) ___constant_swab16((x))
Lines 83-88 Link Here
83
#define __cpu_to_be16s(x) __swab16s((x))
85
#define __cpu_to_be16s(x) __swab16s((x))
84
#define __be16_to_cpus(x) __swab16s((x))
86
#define __be16_to_cpus(x) __swab16s((x))
85
87
88
#endif /* __KERNEL__ */
89
86
#include <linux/byteorder/generic.h>
90
#include <linux/byteorder/generic.h>
87
91
88
#endif /* _LINUX_BYTEORDER_PDP_ENDIAN_H */
92
#endif /* _LINUX_BYTEORDER_PDP_ENDIAN_H */
(-)kernel-source-2.6.9/include/linux/byteorder/big_endian.h.orig-polluted (+4 lines)
Lines 11-16 Link Here
11
#include <linux/types.h>
11
#include <linux/types.h>
12
#include <linux/byteorder/swab.h>
12
#include <linux/byteorder/swab.h>
13
13
14
#if defined(__KERNEL__)
15
14
#define __constant_htonl(x) ((__force __be32)(__u32)(x))
16
#define __constant_htonl(x) ((__force __be32)(__u32)(x))
15
#define __constant_ntohl(x) ((__force __u32)(__be32)(x))
17
#define __constant_ntohl(x) ((__force __u32)(__be32)(x))
16
#define __constant_htons(x) ((__force __be16)(__u16)(x))
18
#define __constant_htons(x) ((__force __be16)(__u16)(x))
Lines 101-106 Link Here
101
#define __cpu_to_be16s(x) do {} while (0)
103
#define __cpu_to_be16s(x) do {} while (0)
102
#define __be16_to_cpus(x) do {} while (0)
104
#define __be16_to_cpus(x) do {} while (0)
103
105
106
#endif /* __KERNEL__ */
107
104
#include <linux/byteorder/generic.h>
108
#include <linux/byteorder/generic.h>
105
109
106
#endif /* _LINUX_BYTEORDER_BIG_ENDIAN_H */
110
#endif /* _LINUX_BYTEORDER_BIG_ENDIAN_H */
(-)kernel-source-2.6.9/include/linux/byteorder/little_endian.h.orig-polluted (+4 lines)
Lines 11-16 Link Here
11
#include <linux/types.h>
11
#include <linux/types.h>
12
#include <linux/byteorder/swab.h>
12
#include <linux/byteorder/swab.h>
13
13
14
#if defined(__KERNEL__)
15
14
#define __constant_htonl(x) ((__force __be32)___constant_swab32((x)))
16
#define __constant_htonl(x) ((__force __be32)___constant_swab32((x)))
15
#define __constant_ntohl(x) ___constant_swab32((__force __be32)(x))
17
#define __constant_ntohl(x) ___constant_swab32((__force __be32)(x))
16
#define __constant_htons(x) ((__force __be16)___constant_swab16((x)))
18
#define __constant_htons(x) ((__force __be16)___constant_swab16((x)))
Lines 101-106 Link Here
101
#define __cpu_to_be16s(x) __swab16s((x))
103
#define __cpu_to_be16s(x) __swab16s((x))
102
#define __be16_to_cpus(x) __swab16s((x))
104
#define __be16_to_cpus(x) __swab16s((x))
103
105
106
#endif /* __KERNEL__ */
107
104
#include <linux/byteorder/generic.h>
108
#include <linux/byteorder/generic.h>
105
109
106
#endif /* _LINUX_BYTEORDER_LITTLE_ENDIAN_H */
110
#endif /* _LINUX_BYTEORDER_LITTLE_ENDIAN_H */

Return to bug 5409