[patch 043/198] ppc32: fix compilation error in arch/ppc/syslib/open_pic_defs.h

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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(-)

diff -puN arch/ppc/syslib/open_pic_defs.h~ppc32-fix-compilation-error-in-arch-ppc-syslib-open_pic_defsh arch/ppc/syslib/open_pic_defs.h
--- 25/arch/ppc/syslib/open_pic_defs.h~ppc32-fix-compilation-error-in-arch-ppc-syslib-open_pic_defsh	2005-04-12 03:21:13.553076520 -0700
+++ 25-akpm/arch/ppc/syslib/open_pic_defs.h	2005-04-12 03:21:13.556076064 -0700
@@ -172,9 +172,6 @@ struct OpenPIC {
     OpenPIC_Processor Processor[OPENPIC_MAX_PROCESSORS];
 };
 
-extern volatile struct OpenPIC __iomem *OpenPIC;
-
-
     /*
      *  Current Task Priority Register
      */
_
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux