diff options
author | Kumar Gala <galak@kernel.crashing.org> | 2009-02-11 14:09:56 -0500 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2009-02-22 18:48:57 -0500 |
commit | 812d904e3975450cbf96aea5c1fec4d0a176ab50 (patch) | |
tree | 91a8f33b0b1ded41657888a11a95629d1a26f38c /arch/powerpc | |
parent | f81786913aa0ca27a3230f30d099e9613d0d7973 (diff) |
powerpc: Fix warnings from make headers_check
include/asm/bootx.h:12: include of <linux/types.h> is preferred over <asm/types.h>
include/asm/bootx.h:57: found __[us]{8,16,32,64} type without #include <linux/types.h>
include/asm/elf.h:5: include of <linux/types.h> is preferred over <asm/types.h>
include/asm/kvm.h:23: include of <linux/types.h> is preferred over <asm/types.h>
include/asm/kvm.h:26: found __[us]{8,16,32,64} type without #include <linux/types.h>
include/asm/ps3fb.h:33: found __[us]{8,16,32,64} type without #include <linux/types.h>
include/asm/spu_info.h:27: found __[us]{8,16,32,64} type without #include <linux/types.h>
include/asm/swab.h:11: include of <linux/types.h> is preferred over <asm/types.h>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc')
-rw-r--r-- | arch/powerpc/include/asm/bootx.h | 2 | ||||
-rw-r--r-- | arch/powerpc/include/asm/elf.h | 3 | ||||
-rw-r--r-- | arch/powerpc/include/asm/kvm.h | 2 | ||||
-rw-r--r-- | arch/powerpc/include/asm/ps3fb.h | 1 | ||||
-rw-r--r-- | arch/powerpc/include/asm/spu_info.h | 3 | ||||
-rw-r--r-- | arch/powerpc/include/asm/swab.h | 2 |
6 files changed, 8 insertions, 5 deletions
diff --git a/arch/powerpc/include/asm/bootx.h b/arch/powerpc/include/asm/bootx.h index 57b82e3f89ce..60a3c9ef3017 100644 --- a/arch/powerpc/include/asm/bootx.h +++ b/arch/powerpc/include/asm/bootx.h | |||
@@ -9,7 +9,7 @@ | |||
9 | #ifndef __ASM_BOOTX_H__ | 9 | #ifndef __ASM_BOOTX_H__ |
10 | #define __ASM_BOOTX_H__ | 10 | #define __ASM_BOOTX_H__ |
11 | 11 | ||
12 | #include <asm/types.h> | 12 | #include <linux/types.h> |
13 | 13 | ||
14 | #ifdef macintosh | 14 | #ifdef macintosh |
15 | #include <Types.h> | 15 | #include <Types.h> |
diff --git a/arch/powerpc/include/asm/elf.h b/arch/powerpc/include/asm/elf.h index cd46f023ec6d..c125da793b07 100644 --- a/arch/powerpc/include/asm/elf.h +++ b/arch/powerpc/include/asm/elf.h | |||
@@ -7,7 +7,8 @@ | |||
7 | #include <asm/string.h> | 7 | #include <asm/string.h> |
8 | #endif | 8 | #endif |
9 | 9 | ||
10 | #include <asm/types.h> | 10 | #include <linux/types.h> |
11 | |||
11 | #include <asm/ptrace.h> | 12 | #include <asm/ptrace.h> |
12 | #include <asm/cputable.h> | 13 | #include <asm/cputable.h> |
13 | #include <asm/auxvec.h> | 14 | #include <asm/auxvec.h> |
diff --git a/arch/powerpc/include/asm/kvm.h b/arch/powerpc/include/asm/kvm.h index f993e4198d5c..4e0cf65f7f5a 100644 --- a/arch/powerpc/include/asm/kvm.h +++ b/arch/powerpc/include/asm/kvm.h | |||
@@ -20,7 +20,7 @@ | |||
20 | #ifndef __LINUX_KVM_POWERPC_H | 20 | #ifndef __LINUX_KVM_POWERPC_H |
21 | #define __LINUX_KVM_POWERPC_H | 21 | #define __LINUX_KVM_POWERPC_H |
22 | 22 | ||
23 | #include <asm/types.h> | 23 | #include <linux/types.h> |
24 | 24 | ||
25 | struct kvm_regs { | 25 | struct kvm_regs { |
26 | __u64 pc; | 26 | __u64 pc; |
diff --git a/arch/powerpc/include/asm/ps3fb.h b/arch/powerpc/include/asm/ps3fb.h index 3f121fe4010d..1a91daf362c8 100644 --- a/arch/powerpc/include/asm/ps3fb.h +++ b/arch/powerpc/include/asm/ps3fb.h | |||
@@ -20,6 +20,7 @@ | |||
20 | #define _ASM_POWERPC_PS3FB_H_ | 20 | #define _ASM_POWERPC_PS3FB_H_ |
21 | 21 | ||
22 | #include <linux/ioctl.h> | 22 | #include <linux/ioctl.h> |
23 | #include <linux/types.h> | ||
23 | 24 | ||
24 | /* ioctl */ | 25 | /* ioctl */ |
25 | #define PS3FB_IOCTL_SETMODE _IOW('r', 1, int) /* set video mode */ | 26 | #define PS3FB_IOCTL_SETMODE _IOW('r', 1, int) /* set video mode */ |
diff --git a/arch/powerpc/include/asm/spu_info.h b/arch/powerpc/include/asm/spu_info.h index 3545efbf9891..1286c823f0d8 100644 --- a/arch/powerpc/include/asm/spu_info.h +++ b/arch/powerpc/include/asm/spu_info.h | |||
@@ -23,9 +23,10 @@ | |||
23 | #ifndef _SPU_INFO_H | 23 | #ifndef _SPU_INFO_H |
24 | #define _SPU_INFO_H | 24 | #define _SPU_INFO_H |
25 | 25 | ||
26 | #include <linux/types.h> | ||
27 | |||
26 | #ifdef __KERNEL__ | 28 | #ifdef __KERNEL__ |
27 | #include <asm/spu.h> | 29 | #include <asm/spu.h> |
28 | #include <linux/types.h> | ||
29 | #else | 30 | #else |
30 | struct mfc_cq_sr { | 31 | struct mfc_cq_sr { |
31 | __u64 mfc_cq_data0_RW; | 32 | __u64 mfc_cq_data0_RW; |
diff --git a/arch/powerpc/include/asm/swab.h b/arch/powerpc/include/asm/swab.h index ef824ae4b79c..c581e3ef73ed 100644 --- a/arch/powerpc/include/asm/swab.h +++ b/arch/powerpc/include/asm/swab.h | |||
@@ -8,7 +8,7 @@ | |||
8 | * 2 of the License, or (at your option) any later version. | 8 | * 2 of the License, or (at your option) any later version. |
9 | */ | 9 | */ |
10 | 10 | ||
11 | #include <asm/types.h> | 11 | #include <linux/types.h> |
12 | #include <linux/compiler.h> | 12 | #include <linux/compiler.h> |
13 | 13 | ||
14 | #ifdef __GNUC__ | 14 | #ifdef __GNUC__ |