ppc32: fix compilation error in arch/ppc/syslib/open_pic_defs.h
PATCH 43/198 ppc32: fix compilation error in arch/ppc/syslib/open_pic_defs.h
From: Benoit Boissinot <[email protected]>
make defconfig give the following error on ppc (gcc-4):
arch/ppc/syslib/open_pic.c:36: error: static declaration of ‘OpenPIC’ follows non-static declaration arch/ppc/syslib/open_pic_defs.h:175: error: previous declaration of ‘OpenPIC’ was here
Signed-off-by Benoit Boissinot <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
25-akpm/arch/ppc/syslib/open_pic_defs.h | 3 --- 1 files changed, 3 deletions(-)
arch/ppc/syslib/open_pic_defs.h renamed from arch/ppc/syslib/open_pic_defs.h~ppc32-fix-compilation-error-in-arch-ppc-syslib-open_pic_defsh +0 -3
@@ -172,9 +172,6 @@ struct OpenPIC {OpenPIC_Processor Processor[OPENPIC_MAX_PROCESSORS ]; }; -extern volatile struct OpenPIC __iomem *OpenPIC; - -/* * Current Task Priority Register */
_