From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Fri, 20 Jul 2012 22:12:58 +0200 Subject: [U-Boot] [PATCH] common.h: Remove include compiler.h Message-ID: <1342815178-32546-1-git-send-email-marex@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 --- include/common.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/common.h b/include/common.h index be9c278..39859d3 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) \ -- 1.7.10.4