From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: In-Reply-To: <20070823033318.GJ7042@localhost.localdomain> References: <75EDD900-3B5E-4D08-9311-13B6510EDE6E@kernel.crashing.org> <2F7E4C06-9AC3-458A-B1E3-CA6E0BDD189A@kernel.crashing.org> <20070823033318.GJ7042@localhost.localdomain> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: From: Kumar Gala Subject: Re: asm-ppc header issues when building ARCH=powerpc Date: Wed, 22 Aug 2007 23:16:03 -0500 To: David Gibson Cc: "linuxppc-dev@ozlabs.org list" , Paul Mackerras List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Aug 22, 2007, at 10:33 PM, David Gibson wrote: > On Wed, Aug 22, 2007 at 10:33:55PM -0500, Kumar Gala wrote: >> >> On Aug 22, 2007, at 10:19 AM, Kumar Gala wrote: >> >>> Guys, >>> >>> I was wondering if I could get your help with looking at the >>> following lists and determining if we have an issue or not related >>> the following files: >>> >>> Getting some classification on these would be good. Possibly >>> classifications, doesn't build in ARCH=powerpc, remove include, real >>> issue, etc. >>> >>> - k >> >> My analysis of usage: >> >> ./drivers/macintosh/adb-iop.c:#include remove >> ./drivers/char/vme_scc.c:#include 68k only >> ./drivers/char/serial167.c:#include 68k only >> ./drivers/serial/dz.c:#include decstation >> ./drivers/mtd/devices/ms02-nv.c:#include decstation >> ./drivers/net/macsonic.c:#include 68k >> ./drivers/net/jazzsonic.c:#include mips >> ./drivers/video/pmag-aa-fb.c:#include mips >> ./drivers/video/maxinefb.c:#include mips >> ./drivers/video/logo/logo.c:#include mips >> ./drivers/video/macfb.c:#include 68k >> ./drivers/video/valkyriefb.c:#include 68k > > Uh.. I'm pretty sure valkyriefb.c is for (old) PowerMacs, not 68k. It appears to be both. If you look at the include its protected by a #ifdef CONFIG_MAC which we is only defined on m68k. - k