Commit afc366f01bea2361bc08b1a7b51e0cef81d66173

Authored by Masahiro Yamada
Committed by Tom Rini
1 parent e873b97a01

Replace <compiler.h> with <linux/compiler.h>

Including <linux/compiler.h> is enough for general use.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>

Showing 13 changed files with 14 additions and 14 deletions Side-by-side Diff

arch/mips/include/asm/unaligned.h
... ... @@ -8,7 +8,7 @@
8 8 #ifndef _ASM_MIPS_UNALIGNED_H
9 9 #define _ASM_MIPS_UNALIGNED_H
10 10  
11   -#include <compiler.h>
  11 +#include <linux/compiler.h>
12 12 #if defined(__MIPSEB__)
13 13 #define get_unaligned __get_unaligned_be
14 14 #define put_unaligned __put_unaligned_be
arch/sh/include/asm/unaligned.h
... ... @@ -8,7 +8,7 @@
8 8 #include <asm/unaligned-sh4a.h>
9 9 #else
10 10 /* Otherwise, SH can't handle unaligned accesses. */
11   -#include <compiler.h>
  11 +#include <linux/compiler.h>
12 12 #if defined(__BIG_ENDIAN__)
13 13 #define get_unaligned __get_unaligned_be
14 14 #define put_unaligned __put_unaligned_be
arch/x86/cpu/coreboot/ipchecksum.c
... ... @@ -29,7 +29,8 @@
29 29 * SUCH DAMAGE.
30 30 */
31 31  
32   -#include <compiler.h>
  32 +#include <linux/types.h>
  33 +#include <linux/compiler.h>
33 34 #include <asm/arch/ipchecksum.h>
34 35  
35 36 unsigned short ipchksum(const void *vptr, unsigned long nbytes)
arch/x86/include/asm/arch-coreboot/sysinfo.h
... ... @@ -10,7 +10,7 @@
10 10 #define _COREBOOT_SYSINFO_H
11 11  
12 12 #include <common.h>
13   -#include <compiler.h>
  13 +#include <linux/compiler.h>
14 14 #include <libfdt.h>
15 15 #include <asm/arch/tables.h>
16 16  
arch/x86/include/asm/arch-coreboot/tables.h
... ... @@ -9,7 +9,7 @@
9 9 #ifndef _COREBOOT_TABLES_H
10 10 #define _COREBOOT_TABLES_H
11 11  
12   -#include <compiler.h>
  12 +#include <linux/compiler.h>
13 13  
14 14 struct cbuint64 {
15 15 u32 lo;
arch/x86/include/asm/io.h
1 1 #ifndef _ASM_IO_H
2 2 #define _ASM_IO_H
3 3  
4   -#include <compiler.h>
  4 +#include <linux/compiler.h>
5 5  
6 6 /*
7 7 * This file contains the definitions for the x86 IO instructions
arch/x86/lib/string.c
... ... @@ -8,9 +8,9 @@
8 8  
9 9 /* From glibc-2.14, sysdeps/i386/memset.c */
10 10  
11   -#include <compiler.h>
12   -#include <asm/string.h>
13 11 #include <linux/types.h>
  12 +#include <linux/compiler.h>
  13 +#include <asm/string.h>
14 14  
15 15 typedef uint32_t op_t;
16 16  
... ... @@ -33,7 +33,6 @@
33 33 #include <linux/ctype.h>
34 34 #include <asm/byteorder.h>
35 35 #include <asm/unaligned.h>
36   -#include <compiler.h>
37 36 #include <errno.h>
38 37 #include <usb.h>
39 38 #ifdef CONFIG_4xx
drivers/power/power_i2c.c
... ... @@ -14,7 +14,7 @@
14 14 #include <linux/types.h>
15 15 #include <power/pmic.h>
16 16 #include <i2c.h>
17   -#include <compiler.h>
  17 +#include <linux/compiler.h>
18 18  
19 19 int pmic_reg_write(struct pmic *p, u32 reg, u32 val)
20 20 {
... ... @@ -13,7 +13,7 @@
13 13 #define _MVRTC_H_
14 14  
15 15 #include <asm/arch/soc.h>
16   -#include <compiler.h>
  16 +#include <linux/compiler.h>
17 17  
18 18 /* RTC registers */
19 19 struct mvrtc_registers {
... ... @@ -34,7 +34,7 @@
34 34  
35 35 #include <config.h>
36 36 #include <common.h>
37   -#include <compiler.h>
  37 +#include <linux/compiler.h>
38 38 #include <fdtdec.h>
39 39 #include <i2c.h>
40 40 #include <tpm.h>
drivers/tpm/tpm_tis_i2c.c
... ... @@ -38,7 +38,7 @@
38 38  
39 39 #include <common.h>
40 40 #include <fdtdec.h>
41   -#include <compiler.h>
  41 +#include <linux/compiler.h>
42 42 #include <i2c.h>
43 43 #include <tpm.h>
44 44 #include <asm-generic/errno.h>
... ... @@ -3,7 +3,7 @@
3 3 #define __GLUE_ZLIB_H__
4 4  
5 5 #include <common.h>
6   -#include <compiler.h>
  6 +#include <linux/compiler.h>
7 7 #include <asm/unaligned.h>
8 8 #include <watchdog.h>
9 9 #include "u-boot/zlib.h"