mirror of
https://xff.cz/git/u-boot/
synced 2025-09-02 01:02:19 +02:00
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 <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 commit is contained in:
committed by
Wolfgang Denk
parent
3ec81d758c
commit
546910f85f
@@ -39,7 +39,6 @@ typedef volatile unsigned char vu_char;
|
|||||||
#include <linux/bitops.h>
|
#include <linux/bitops.h>
|
||||||
#include <linux/types.h>
|
#include <linux/types.h>
|
||||||
#include <linux/string.h>
|
#include <linux/string.h>
|
||||||
#include <linux/compiler.h>
|
|
||||||
#include <asm/ptrace.h>
|
#include <asm/ptrace.h>
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
#if defined(CONFIG_PCI) && (defined(CONFIG_4xx) && !defined(CONFIG_AP1000))
|
#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) \
|
#define DEFINE_ALIGN_BUFFER(type, name, size, align) \
|
||||||
static char __##name[roundup(size * sizeof(type), align)] \
|
static char __##name[roundup(size * sizeof(type), align)] \
|
||||||
__aligned(align); \
|
__attribute__((aligned(align))); \
|
||||||
\
|
\
|
||||||
static type *name = (type *)__##name
|
static type *name = (type *)__##name
|
||||||
#define DEFINE_CACHE_ALIGN_BUFFER(type, name, size) \
|
#define DEFINE_CACHE_ALIGN_BUFFER(type, name, size) \
|
||||||
|
Reference in New Issue
Block a user