From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from az33egw02.freescale.net (az33egw02.freescale.net [192.88.158.103]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "az33egw02.freescale.net", Issuer "Thawte Premium Server CA" (verified OK)) by ozlabs.org (Postfix) with ESMTPS id 7EA78DDDF9 for ; Wed, 22 Oct 2008 02:33:02 +1100 (EST) Message-ID: <48FDF611.5080703@freescale.com> Date: Tue, 21 Oct 2008 10:32:33 -0500 From: Scott Wood MIME-Version: 1.0 To: Guennadi Liakhovetski Subject: Re: [PATCH] powerpc: enable heap randomization for linkstations References: <20081013040703.GA11059@ime.usp.br> <20081013045116.GA11637@ime.usp.br> <20081013184443.GA20612@ld0162-tx32.am.freescale.net> <20081019025323.GA7887@ime.usp.br> <9e4733910810191432o58d204adw490cb8e4fcc390ac@mail.gmail.com> <9e4733910810191505u3ec1db0dl25e87bf3b78c740d@mail.gmail.com> <20081021151648.GA20757@ld0162-tx32.am.freescale.net> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Cc: =?UTF-8?B?Um9nw6lyaW8gQnJpdG8=?= , linuxppc-dev@ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Guennadi Liakhovetski wrote: > static __initdata struct of_device_id storcenter_of_bus[] = { > { .name = "soc", }, > {}, > }; Add .compatible = "simple-bus" to the list. > static int __init storcenter_device_probe(void) > { > of_platform_bus_probe(NULL, storcenter_of_bus, NULL); > return 0; > } > machine_device_initcall(storcenter, storcenter_device_probe); > > ? No, linkstation doesn't do that. Somehow, as this API has been > introduced, linkstation has been left aside:-( This is almost as much of a FAQ as interrupt mapping... I'm wondering if we should have stuck with a default list, and added a call to of_platform_bus_probe by common code that could be overridden by some board flag if really necessary, rather than have a bunch of duplication-with-mutation in the platform files. -Scott