From: Marek Vasut Date: Fri, 20 Jul 2012 10:12:58 +0000 (+0000) Subject: common.h: Remove include compiler.h X-Git-Tag: v2012.07-rc2~8 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=546910f85f98a6868db14e7f25770e8996d6e777;p=u-boot 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 Fix found by: Tom Rini Signed-off-by: Marek Vasut Cc: Wolfgang Denk Cc: Tom Rini --- diff --git a/include/common.h b/include/common.h index be9c278ee8..39859d323f 100644 --- a/include/common.h +++ b/include/common.h @@ -39,7 +39,6 @@ typedef volatile unsigned char vu_char; #include #include #include -#include #include #include #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) \