From: Julian Calaby Date: Tue, 6 Jan 2009 02:13:49 +0000 (-0800) Subject: sparc: Fix minor SPARC32 compile error X-Git-Tag: v2.6.29-rc1~501^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4696b64d234b84b5b70ffd49a76833aa5c49cb61;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed