Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 4 Jun 2002 17:33:28 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 4 Jun 2002 17:33:27 -0400 Received: from air-2.osdl.org ([65.201.151.6]:53383 "EHLO geena.pdx.osdl.net") by vger.kernel.org with ESMTP id ; Tue, 4 Jun 2002 17:33:26 -0400 Date: Tue, 4 Jun 2002 14:29:21 -0700 (PDT) From: Patrick Mochel X-X-Sender: To: "David S. Miller" cc: , Subject: Re: [2.5.19] Oops during PCI scan on Alpha In-Reply-To: <20020604.142312.23013040.davem@redhat.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 4 Jun 2002, David S. Miller wrote: > From: Patrick Mochel > Date: Tue, 4 Jun 2002 14:14:26 -0700 (PDT) > > On Tue, 4 Jun 2002, David S. Miller wrote: > > > Does sys_bus_init require the generic bus layer to be initialized > > first? > > Yes, and it is in drivers/base/bus.c just before sys_bus_init is called. > > Linkers are allowed to reorder object files unless you tell them > explicitly not to. > > This is why you need to put this stuff into a seperate initcall level. > This is precisely why I suggest postcore_initcall as the fix. Ok, how about just keeping it a subsys_initcall, like it was in the first place? -pat - 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/