common.h: Remove include compiler.h
PATCH 1/1 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 <[email protected]>
Fix found by:
Tom Rini <[email protected]>
Signed-off-by Marek Vasut <[email protected]>
Cc Wolfgang Denk <[email protected]>
Cc Tom Rini <[email protected]>
--- include/common.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
include/common.h +1 -2
@@ -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) \
Signature · 1 line
1.7.10.4
Wolfgang Denk
AppliedPATCH 1/1 common.h: Remove include compiler.h
Dear Marek Vasut,
Quoted 7 lines · In message <[email protected]> you wrote:
Remove this as including it on global scale breaks a lot of things. This was reported by:
Matthew McClintock <[email protected]>Fix found by:
Tom Rini <[email protected]>
Quoted 6 lines
Signed-off-by Marek Vasut <[email protected]>Cc Wolfgang Denk <[email protected]>Cc Tom Rini <[email protected]>--- include/common.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
Applied, thanks.
Best regards,
Wolfgang Denk
Signature · 4 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Parkinson's Law: Work expands to fill the time alloted it.