mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [2.6 ppc patch] fix compilation error in arch/ppc/syslib/open_pic_defs.h
@ 2005-04-11 16:46 Benoit Boissinot
  0 siblings, 0 replies; only message in thread
From: Benoit Boissinot @ 2005-04-11 16:46 UTC (permalink / raw)
  To: akpm; +Cc: linux-kernel, paulus

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

The following patch solves it.

Signed-Off-By: Benoit Boissinot <benoit.boissinot@ens-lyon.org>

--- ./arch/ppc/syslib/open_pic_defs.h.orig	2005-04-11 14:51:54.000000000 +0200
+++ ./arch/ppc/syslib/open_pic_defs.h	2005-04-11 14:52:45.000000000 +0200
@@ -172,9 +172,6 @@ struct OpenPIC {
     OpenPIC_Processor Processor[OPENPIC_MAX_PROCESSORS];
 };
 
-extern volatile struct OpenPIC __iomem *OpenPIC;
-
-
     /*
      *  Current Task Priority Register
      */

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-04-11 16:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-11 16:46 [2.6 ppc patch] fix compilation error in arch/ppc/syslib/open_pic_defs.h Benoit Boissinot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®