[PATCH] ppc32: fix compilation error in arch/ppc/syslib/open_pic_defs.h
authorBenoit Boissinot <benoit.boissinot@ens-lyon.org>
Sat, 16 Apr 2005 22:24:29 +0000 (15:24 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Sat, 16 Apr 2005 22:24:29 +0000 (15:24 -0700)
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 <benoit.boissinot@ens-lyon.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/ppc/syslib/open_pic_defs.h

index 4f05624b249ec38d06f61a72d1afea9a80b42ba2..6c94e713146353752a698fe09d951151718ebafe 100644 (file)
@@ -172,9 +172,6 @@ struct OpenPIC {
     OpenPIC_Processor Processor[OPENPIC_MAX_PROCESSORS];
 };
 
-extern volatile struct OpenPIC __iomem *OpenPIC;
-
-
     /*
      *  Current Task Priority Register
      */