linux/arch/sparc
Julian Calaby 4696b64d23 sparc: Fix minor SPARC32 compile error
When CONFIG_PROC_FS is unset, include/linux/interrupt.h defines
init_irq_proc() as an empty function.

arch/sparc/kernel/irq_32.c defines this function unconditionally.

Fix the latter so that it only defines this function when CONFIG_PROC_FS
is set.

This fixes the following error:
arch/sparc/kernel/irq_32.c:672: error: redefinition of 'init_irq_proc'
include/linux/interrupt.h:461: error: previous definition of
'init_irq_proc' was here

This was found using randconfig builds.

Signed-off-by: Julian Calaby <julian.calaby@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-01-05 18:13:49 -08:00
..
boot sparc,sparc64: unify boot/ 2008-12-04 09:17:21 -08:00
configs sparc: Update 64-bit defconfig. 2009-01-02 21:54:25 -08:00
include/asm sparc: Remove reg*.h from Kbuild 2009-01-05 00:55:24 -08:00
kernel sparc: Fix minor SPARC32 compile error 2009-01-05 18:13:49 -08:00
lib sparc: Commonize memcmp assembler. 2008-12-09 04:09:07 -08:00
math-emu sparc64: unify math-emu 2008-12-04 09:16:56 -08:00
mm sparc: drop SUN_IO 2008-12-27 00:55:45 -08:00
oprofile sparc64: Provide oprofile pseudo-NMI on Niagara. 2008-12-04 09:17:10 -08:00
prom sparc: Use sparc64 version of prom/printf.c 2008-12-08 01:00:14 -08:00
Kconfig sparc: Use 64BIT config entry 2009-01-04 23:03:10 -08:00
Kconfig.debug sparc: unify Kconfig.debug 2008-12-04 09:16:48 -08:00
Makefile sparc: unify kernel/init_task 2008-12-04 13:28:09 -08:00