linux/arch/arm/include/asm/mach
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
..
arch.h ARM: provide a late_initcall hook for platform initialization 2012-05-03 23:09:24 +08:00
dma.h [ARM] dma: move IOMD and floppy DMA structures to RiscPC DMA code 2009-02-21 21:36:22 +00:00
flash.h
irda.h
irq.h ARM: fiq: change FIQ_START to a variable 2012-07-01 21:59:19 +08:00
map.h ARM: integrate CMA with DMA-mapping subsystem 2012-05-21 15:09:38 +02:00
pci.h ARM: PCI: remove per-pci_hw list of buses 2012-05-16 15:24:12 +01:00
serial_at91.h
serial_sa1100.h
sharpsl_param.h
time.h ARM: 7413/1: move read_{boot,persistent}_clock to the architecture level 2012-05-06 11:09:21 +01:00
udc_pxa2xx.h ARM: pxa: drop gpio_vbus field from pxa2xx_udc_mach_info 2011-03-16 16:33:34 +08:00