b53e9b5ebd
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> |
||
---|---|---|
.. | ||
audmux.h | ||
board-armadillo5x0.h | ||
board-eukrea_cpuimx27.h | ||
board-kzmarm11.h | ||
board-mx21ads.h | ||
board-mx27ads.h | ||
board-mx27lite.h | ||
board-mx27pdk.h | ||
board-mx31ads.h | ||
board-mx31lilly.h | ||
board-mx31lite.h | ||
board-mx31moboard.h | ||
board-mx31pdk.h | ||
board-mx35pdk.h | ||
board-pcm037.h | ||
board-pcm038.h | ||
board-pcm043.h | ||
board-qong.h | ||
clkdev.h | ||
clock.h | ||
common.h | ||
debug-macro.S | ||
dma-mx1-mx2.h | ||
entry-macro.S | ||
gpio.h | ||
hardware.h | ||
i2c.h | ||
iim.h | ||
imx-uart.h | ||
imxfb.h | ||
io.h | ||
iomux-mx1.h | ||
iomux-mx2x.h | ||
iomux-mx3.h | ||
iomux-mx21.h | ||
iomux-mx25.h | ||
iomux-mx27.h | ||
iomux-mx35.h | ||
iomux-mxc91231.h | ||
iomux-v3.h | ||
iomux.h | ||
ipu.h | ||
irqs.h | ||
memory.h | ||
mmc.h | ||
mtd-xip.h | ||
mx1_camera.h | ||
mx1.h | ||
mx2x.h | ||
mx3_camera.h | ||
mx3fb.h | ||
mx3x.h | ||
mx21.h | ||
mx25.h | ||
mx27.h | ||
mx31.h | ||
mx35.h | ||
mxc91231.h | ||
mxc_ehci.h | ||
mxc_nand.h | ||
mxc.h | ||
spi.h | ||
system.h | ||
timex.h | ||
ulpi.h | ||
uncompress.h | ||
usb.h | ||
vmalloc.h |