summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 3ec81d7)
raw | patch | inline | side by side (parent: 3ec81d7)
author | Marek Vasut <marex@denx.de> | |
Fri, 20 Jul 2012 10:12:58 +0000 (10:12 +0000) | ||
committer | Wolfgang Denk <wd@denx.de> | |
Fri, 20 Jul 2012 20:30:04 +0000 (22:30 +0200) |
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>
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 | patch | blob | history |
diff --git a/include/common.h b/include/common.h
index be9c278ee8087dcdcdef3fd4b0e6b6d79ed88578..39859d323f2cea34ad50d5bc0c4d1a42c79a46b7 100644 (file)
--- a/include/common.h
+++ b/include/common.h
#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))
*/
#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) \