diff options
-rw-r--r-- | include/linux/compiler-gcc.h | 4 | ||||
-rw-r--r-- | include/linux/compiler-gcc3.h | 4 | ||||
-rw-r--r-- | include/linux/compiler-gcc4.h | 4 | ||||
-rw-r--r-- | include/linux/compiler-intel.h | 4 |
4 files changed, 12 insertions, 4 deletions
diff --git a/include/linux/compiler-gcc.h b/include/linux/compiler-gcc.h index 03ec2311fb29..acd583384bd9 100644 --- a/include/linux/compiler-gcc.h +++ b/include/linux/compiler-gcc.h | |||
@@ -1,4 +1,6 @@ | |||
1 | /* Never include this file directly. Include <linux/compiler.h> instead. */ | 1 | #ifndef __LINUX_COMPILER_H |
2 | #error "Please don't include <linux/compiler-gcc.h> directly, include <linux/compiler.h> instead." | ||
3 | #endif | ||
2 | 4 | ||
3 | /* | 5 | /* |
4 | * Common definitions for all gcc versions go here. | 6 | * Common definitions for all gcc versions go here. |
diff --git a/include/linux/compiler-gcc3.h b/include/linux/compiler-gcc3.h index a9e2863c2dbf..2d8c0f48f55e 100644 --- a/include/linux/compiler-gcc3.h +++ b/include/linux/compiler-gcc3.h | |||
@@ -1,4 +1,6 @@ | |||
1 | /* Never include this file directly. Include <linux/compiler.h> instead. */ | 1 | #ifndef __LINUX_COMPILER_H |
2 | #error "Please don't include <linux/compiler-gcc3.h> directly, include <linux/compiler.h> instead." | ||
3 | #endif | ||
2 | 4 | ||
3 | /* These definitions are for GCC v3.x. */ | 5 | /* These definitions are for GCC v3.x. */ |
4 | #include <linux/compiler-gcc.h> | 6 | #include <linux/compiler-gcc.h> |
diff --git a/include/linux/compiler-gcc4.h b/include/linux/compiler-gcc4.h index 14f7494280f0..ee7ca5de970c 100644 --- a/include/linux/compiler-gcc4.h +++ b/include/linux/compiler-gcc4.h | |||
@@ -1,4 +1,6 @@ | |||
1 | /* Never include this file directly. Include <linux/compiler.h> instead. */ | 1 | #ifndef __LINUX_COMPILER_H |
2 | #error "Please don't include <linux/compiler-gcc4.h> directly, include <linux/compiler.h> instead." | ||
3 | #endif | ||
2 | 4 | ||
3 | /* These definitions are for GCC v4.x. */ | 5 | /* These definitions are for GCC v4.x. */ |
4 | #include <linux/compiler-gcc.h> | 6 | #include <linux/compiler-gcc.h> |
diff --git a/include/linux/compiler-intel.h b/include/linux/compiler-intel.h index b769961e6f23..d8e636e5607d 100644 --- a/include/linux/compiler-intel.h +++ b/include/linux/compiler-intel.h | |||
@@ -1,4 +1,6 @@ | |||
1 | /* Never include this file directly. Include <linux/compiler.h> instead. */ | 1 | #ifndef __LINUX_COMPILER_H |
2 | #error "Please don't include <linux/compiler-intel.h> directly, include <linux/compiler.h> instead." | ||
3 | #endif | ||
2 | 4 | ||
3 | #ifdef __ECC | 5 | #ifdef __ECC |
4 | 6 | ||