Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1763302AbYBTODn (ORCPT ); Wed, 20 Feb 2008 09:03:43 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757649AbYBTODd (ORCPT ); Wed, 20 Feb 2008 09:03:33 -0500 Received: from mail.southpole.se ([193.12.106.18]:39964 "EHLO mail.southpole.se" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754941AbYBTODc (ORCPT ); Wed, 20 Feb 2008 09:03:32 -0500 Message-ID: <47BC3332.7090705@southpole.se> Date: Wed, 20 Feb 2008 15:03:30 +0100 From: Jonas Bonn User-Agent: Thunderbird 2.0.0.9 (X11/20080214) MIME-Version: 1.0 To: Sam Ravnborg CC: linux-kernel@vger.kernel.org, netdev@vger.kernel.org, greg@kroah.com, Andrew Morton Subject: Re: PowerPC toolchain for x86 [Was: pci_device_id cleanups] References: <1203512031-14318-1-git-send-email-jonas@southpole.se> <20080220131704.GB18790@uranus.ravnborg.org> <47BC2AB7.4040402@southpole.se> <20080220135533.GA19024@uranus.ravnborg.org> In-Reply-To: <20080220135533.GA19024@uranus.ravnborg.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1624 Lines: 46 Sam Ravnborg wrote: > On Wed, Feb 20, 2008 at 02:27:19PM +0100, Jonas Bonn wrote: >> Sam Ravnborg wrote: >>> On Wed, Feb 20, 2008 at 01:53:36PM +0100, Jonas Bonn wrote: >>>> The PCI_DEVICE_TABLE patch I sent earlier doesn't necessarily make >>>> much sense by itself... here is a set of patches that apply >>>> this macro, in turn moving a lot of this data into __devinitconst >>>> which is discardable in certain situations. >>>> Hopefully the benefit of this approach is a bit clearer now. >>> [shorter lines please..] >> Sorry... >> >>> Can you please confirm that this does not break powerpc (64 bit) >>> as they have troubles with the constification.. >> I do not have access to any PowerPC machine... Olof Johansson built the >> tree I posted earlier on PowerPC; there's nothing really new here except >> the wrapping of the definition in a macro. > And you added const and a specific section. No... once the macro is expanded the code is exactly the same as that which built cleanly on powerpc previously (which Olof, built, I mean)... nothing new here. > Exactly what could break on PowerPC. > > To do the build break check is easy. > Google for "crosstool" and build your own powerpc toolchain. > Thanks... I'll throw together a cross compiler and see what I can do. /Jonas > Andrew has something precompiled somewhere but I lost the link. > > > Sam > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/