WSL2-Linux-Kernel/arch/arm/plat-s3c24xx
Shawn Guo bc89663aa5 ARM: fiq: change FIQ_START to a variable
The commit a2be01b (ARM: only include mach/irqs.h for !SPARSE_IRQ)
makes mach/irqs.h only be included for !SPARSE_IRQ build.  There are
a nubmer of platforms have FIQ_START defined in mach/irqs.h for FIQ
support.

  arch/arm/mach-rpc/include/mach/irqs.h:#define FIQ_START         64
  arch/arm/mach-s3c24xx/include/mach/irqs.h:#define FIQ_START             IRQ_EINT0
  arch/arm/plat-mxc/include/mach/irqs.h:#define FIQ_START 0

If SPARSE_IRQ is enabled for any of these platforms, the following
compile error will be seen.

  arch/arm/kernel/fiq.c: In function ‘enable_fiq’:
  arch/arm/kernel/fiq.c:127:19: error: ‘FIQ_START’ undeclared (first use in this function)
  arch/arm/kernel/fiq.c:127:19: note: each undeclared identifier is reported only once for each function it appears in
  arch/arm/kernel/fiq.c: In function ‘disable_fiq’:
  arch/arm/kernel/fiq.c:132:20: error: ‘FIQ_START’ undeclared (first use in this function)

The patch changes fiq code to have init_FIQ take FIQ_START from
platforms as a parameter and assign it to variable fiq_start which
is to replace FIQ_START uses in enable_fiq/disable_fiq.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Cc: Kukjin Kim <kgene.kim@samsung.com>
Cc: Sascha Hauer <s.hauer@pengutronix.de>
Cc: Rob Herring <rob.herring@calxeda.com>
Acked-by: Russell King <rmk+kernel@arm.linux.org.uk>
2012-07-01 21:59:19 +08:00
..
Kconfig ARM: S3C24XX: Move device setup files to mach directory 2012-03-07 01:47:15 -08:00
Makefile ARM: S3C24XX: move common clock init into common.c 2012-05-12 16:22:18 +09:00
clock-dclk.c ARM: S3C24XX: Add clkdev support 2011-07-20 19:11:29 +09:00
cpu-freq-debugfs.c ARM: SAMSUNG: inclusion export.h instead of module.h 2011-11-17 01:14:38 +09:00
cpu-freq.c driver-core: remove sysdev.h usage. 2011-12-21 16:26:03 -08:00
dma.c Disintegrate asm/system.h for ARM 2012-03-28 18:30:01 +01:00
irq.c ARM: fiq: change FIQ_START to a variable 2012-07-01 21:59:19 +08:00
s3c2410-clock.c driver-core: remove sysdev.h usage. 2011-12-21 16:26:03 -08:00
s3c2410-cpufreq-utils.c ARM: S3C2410: CPUFREQ: Add core support. 2009-07-30 23:22:52 +01:00
s3c2410-iotiming.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
s3c2412-iotiming.c driver-core: remove sysdev.h usage. 2011-12-21 16:26:03 -08:00