* [U-Boot] [PATCH] common.h: Remove include compiler.h
@ 2012-07-20 20:12 Marek Vasut
2012-07-20 20:30 ` Wolfgang Denk
0 siblings, 1 reply; 2+ messages in thread
From: Marek Vasut @ 2012-07-20 20:12 UTC (permalink / raw)
To: u-boot
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>
---
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 <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) \
--
1.7.10.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [U-Boot] [PATCH] common.h: Remove include compiler.h
2012-07-20 20:12 [U-Boot] [PATCH] common.h: Remove include compiler.h Marek Vasut
@ 2012-07-20 20:30 ` Wolfgang Denk
0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Denk @ 2012-07-20 20:30 UTC (permalink / raw)
To: u-boot
Dear Marek Vasut,
In message <1342815178-32546-1-git-send-email-marex@denx.de> you wrote:
> 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>
> ---
> include/common.h | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
Applied, thanks.
Best regards,
Wolfgang Denk
--
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-07-20 20:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-20 20:12 [U-Boot] [PATCH] common.h: Remove include compiler.h Marek Vasut
2012-07-20 20:30 ` Wolfgang Denk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox