summaryrefslogtreecommitdiffstats
path: root/arch/sparc/kernel/asm-offsets.c
diff options
context:
space:
mode:
authorJulian Calaby <julian.calaby@gmail.com>2009-01-06 03:13:49 +0100
committerDavid S. Miller <davem@davemloft.net>2009-01-06 03:13:49 +0100
commit4696b64d234b84b5b70ffd49a76833aa5c49cb61 (patch)
treec1a1a647395e1b24395dee7b34501d12bdce3e40 /arch/sparc/kernel/asm-offsets.c
parentsparc: Remove reg*.h from Kbuild (diff)
downloadlinux-4696b64d234b84b5b70ffd49a76833aa5c49cb61.tar.xz
linux-4696b64d234b84b5b70ffd49a76833aa5c49cb61.zip
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>
Diffstat (limited to 'arch/sparc/kernel/asm-offsets.c')
0 files changed, 0 insertions, 0 deletions