diff options
author | Benoit Boissinot <benoit.boissinot@ens-lyon.org> | 2005-04-16 18:24:29 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-16 18:24:29 -0400 |
commit | d8f6098d5b0e9755c79d05e30b185a6e964fd3fa (patch) | |
tree | 8869a8eb584713088b1e882e8fcd1b7772fd8709 /arch/ppc | |
parent | cd2c169e6a2d15dce3f526b1e2f97e843f8f5787 (diff) |
[PATCH] ppc32: fix compilation error in arch/ppc/syslib/open_pic_defs.h
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>
Diffstat (limited to 'arch/ppc')
-rw-r--r-- | arch/ppc/syslib/open_pic_defs.h | 3 |
1 files changed, 0 insertions, 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 { | |||
172 | OpenPIC_Processor Processor[OPENPIC_MAX_PROCESSORS]; | 172 | OpenPIC_Processor Processor[OPENPIC_MAX_PROCESSORS]; |
173 | }; | 173 | }; |
174 | 174 | ||
175 | extern volatile struct OpenPIC __iomem *OpenPIC; | ||
176 | |||
177 | |||
178 | /* | 175 | /* |
179 | * Current Task Priority Register | 176 | * Current Task Priority Register |
180 | */ | 177 | */ |