diff options
| author | Marek Vasut <marex@denx.de> | 2012-07-20 10:12:58 +0000 | 
|---|---|---|
| committer | Wolfgang Denk <wd@denx.de> | 2012-07-20 22:30:04 +0200 | 
| commit | 546910f85f98a6868db14e7f25770e8996d6e777 (patch) | |
| tree | 9be3a807c1c8054bcaf55be1cae0db85e3628b5f | |
| parent | 3ec81d758c09d6887a77a1b1259d044a2905bc8e (diff) | |
| download | olio-uboot-2014.01-546910f85f98a6868db14e7f25770e8996d6e777.tar.xz olio-uboot-2014.01-546910f85f98a6868db14e7f25770e8996d6e777.zip | |
common.h: Remove include compiler.h
Remove this as including it on global scale breaks a lot of things.
This was reported by:
Matthew McClintock <B29882@freescale.com>
Fix found by:
Tom Rini <trini@ti.com>
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Wolfgang Denk <wd@denx.de>
Cc: Tom Rini <trini@ti.com>
| -rw-r--r-- | include/common.h | 3 | 
1 files changed, 1 insertions, 2 deletions
| diff --git a/include/common.h b/include/common.h index be9c278ee..39859d323 100644 --- a/include/common.h +++ b/include/common.h @@ -39,7 +39,6 @@ typedef volatile unsigned char	vu_char;  #include <linux/bitops.h>  #include <linux/types.h>  #include <linux/string.h> -#include <linux/compiler.h>  #include <asm/ptrace.h>  #include <stdarg.h>  #if defined(CONFIG_PCI) && (defined(CONFIG_4xx) && !defined(CONFIG_AP1000)) @@ -959,7 +958,7 @@ int cpu_release(int nr, int argc, char * const argv[]);   */  #define DEFINE_ALIGN_BUFFER(type, name, size, align)			\  	static char __##name[roundup(size * sizeof(type), align)]	\ -			__aligned(align);				\ +			__attribute__((aligned(align)));				\  									\  	static type *name = (type *)__##name  #define DEFINE_CACHE_ALIGN_BUFFER(type, name, size)			\ |