kernel_optimize_test/arch/arm/mach-gemini/include/mach
Tony Lindgren b53e9b5ebd ARM: 5882/1: ARM: Fix uncompress code compile for different defines of flush(void)
Because of the include of the decompress_inflate.c file from
boot/compress/misc.c, there are different flush() defines:

In file included from arch/arm/boot/compressed/misc.c:249:
arch/arm/boot/compressed/../../../../lib/decompress_inflate.c:138:29: error: macro "flush" passed 2 arguments, but takes just 0

Fix this by removing the define of flush() in misc.c for
CONFIG_DEBUG_ICEDCC as it's already defined in mach/uncompress.h,
and that is being included unconditionally.

Also use a static inline function instead of define
for mach-mxc and mach-gemini to avoid similar bug
for those platforms.

Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2010-01-18 12:44:51 +00:00
..
debug-macro.S ARM: Add Gemini architecture v3 2009-03-26 10:06:08 +02:00
entry-macro.S ARM: Add Gemini architecture v3 2009-03-26 10:06:08 +02:00
global_reg.h ARM: Add Gemini architecture v3 2009-03-26 10:06:08 +02:00
gpio.h Gemini: gpiolib based GPIO support v2 2009-03-26 10:06:27 +02:00
hardware.h Gemini: Fix SRAM/ROM location after memory swap 2009-05-28 16:42:25 +03:00
io.h ARM: Add Gemini architecture v3 2009-03-26 10:06:08 +02:00
irqs.h Gemini: gpiolib based GPIO support v2 2009-03-26 10:06:27 +02:00
memory.h ARM: Add Gemini architecture v3 2009-03-26 10:06:08 +02:00
system.h [ARM] arch_reset() now takes a second parameter 2009-03-30 10:40:12 +01:00
timex.h ARM: Add Gemini architecture v3 2009-03-26 10:06:08 +02:00
uncompress.h ARM: 5882/1: ARM: Fix uncompress code compile for different defines of flush(void) 2010-01-18 12:44:51 +00:00
vmalloc.h ARM: Add Gemini architecture v3 2009-03-26 10:06:08 +02:00