From d8f6098d5b0e9755c79d05e30b185a6e964fd3fa Mon Sep 17 00:00:00 2001 From: Benoit Boissinot Date: Sat, 16 Apr 2005 15:24:29 -0700 Subject: [PATCH] [PATCH] ppc32: fix compilation error in arch/ppc/syslib/open_pic_defs.h MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- arch/ppc/syslib/open_pic_defs.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/ppc/syslib/open_pic_defs.h b/arch/ppc/syslib/open_pic_defs.h index 4f05624b249e..6c94e7131463 100644 --- a/arch/ppc/syslib/open_pic_defs.h +++ b/arch/ppc/syslib/open_pic_defs.h @@ -172,9 +172,6 @@ struct OpenPIC { OpenPIC_Processor Processor[OPENPIC_MAX_PROCESSORS]; }; -extern volatile struct OpenPIC __iomem *OpenPIC; - - /* * Current Task Priority Register */ -- 2.30.2