linux_dsm_epyc7002/arch/arm/plat-mxc
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
..
include/mach ARM: 5882/1: ARM: Fix uncompress code compile for different defines of flush(void) 2010-01-18 12:44:51 +00:00
audmux-v1.c i.MX27 audmux: Fix register offsets 2009-12-02 12:17:16 +01:00
audmux-v2.c MXC: Add a digital audio multiplexer driver 2009-11-14 10:30:39 +01:00
clock.c [ARM] MXC: remove the now unused #ifndef CONFIG_COMMON_CLKDEV 2009-08-07 12:11:11 +02:00
cpu.c [ARM] MXC: add cpu_is_ macros 2009-03-13 10:34:26 +01:00
devices.c arm/imx2x: removes a bunch of sparse-warnings 2009-03-13 10:33:52 +01:00
dma-mx1-mx2.c mxc: mx1/mx2 DMA: add a possibility to create an endless DMA transfer 2009-11-24 08:40:14 +01:00
ehci.c USB: Add EHCI support for MX27 and MX31 based boards 2009-12-11 11:55:18 -08:00
gpio.c imx/gpio: Use handle_level_irq 2009-11-14 10:29:15 +01:00
iomux-mx1-mx2.c arm/imx2x: new IOMUX definitions 2009-03-13 10:33:44 +01:00
iomux-v3.c mxc: iomux v3: remove resource handling 2009-11-24 08:39:43 +01:00
irq.c MXC: use variable for irq controller base in entry-macro.S 2009-08-14 12:40:39 +02:00
Kconfig MXC: Add a digital audio multiplexer driver 2009-11-14 10:30:39 +01:00
Makefile USB: Add EHCI support for MX27 and MX31 based boards 2009-12-11 11:55:18 -08:00
pwm.c tree-wide: fix assorted typos all over the place 2009-12-04 15:39:55 +01:00
system.c MXC: add basic MXC91231 support 2009-08-14 12:40:46 +02:00
time.c MXC: add basic MXC91231 support 2009-08-14 12:40:46 +02:00
ulpi.c MXC: Add support for ULPI Viewports 2009-11-14 10:29:15 +01:00