]>
Commit | Line | Data |
---|---|---|
5e993f12 | 1 | diff --git a/include/asm-ia64/Kbuild b/include/asm-ia64/Kbuild |
2 | index 4a1e48b..fc03b88 100644 | |
3 | --- a/include/asm-ia64/Kbuild | |
4 | +++ b/include/asm-ia64/Kbuild | |
5 | @@ -3,10 +3,7 @@ include include/asm-generic/Kbuild.asm | |
6 | header-y += break.h | |
7 | header-y += fpu.h | |
8 | header-y += fpswa.h | |
9 | -header-y += gcc_intrin.h | |
10 | header-y += ia64regs.h | |
11 | -header-y += intel_intrin.h | |
12 | -header-y += intrinsics.h | |
13 | header-y += perfmon_default_smpl.h | |
14 | header-y += ptrace_offsets.h | |
15 | header-y += rse.h | |
16 | diff --git a/include/asm-ia64/byteorder.h b/include/asm-ia64/byteorder.h | |
17 | index 69bd41d..783e272 100644 | |
18 | --- a/include/asm-ia64/byteorder.h | |
19 | +++ b/include/asm-ia64/byteorder.h | |
20 | @@ -7,6 +7,9 @@ | |
21 | */ | |
22 | ||
23 | #include <asm/types.h> | |
24 | + | |
25 | +#ifdef __KERNEL__ | |
26 | + | |
27 | #include <asm/intrinsics.h> | |
28 | #include <linux/compiler.h> | |
29 | ||
30 | @@ -35,6 +38,8 @@ __ia64_swab16(__u16 x) | |
31 | #define __arch__swab32(x) __ia64_swab32(x) | |
32 | #define __arch__swab16(x) __ia64_swab16(x) | |
33 | ||
34 | +#endif | |
35 | + | |
36 | #define __BYTEORDER_HAS_U64__ | |
37 | ||
38 | #include <linux/byteorder/little_endian.h> |