Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 4 Jun 2002 17:26:23 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 4 Jun 2002 17:26:22 -0400 Received: from pizda.ninka.net ([216.101.162.242]:42369 "EHLO pizda.ninka.net") by vger.kernel.org with ESMTP id ; Tue, 4 Jun 2002 17:26:21 -0400 Date: Tue, 04 Jun 2002 14:23:12 -0700 (PDT) Message-Id: <20020604.142312.23013040.davem@redhat.com> To: mochel@osdl.org Cc: anton@samba.org, linux-kernel@vger.kernel.org Subject: Re: [2.5.19] Oops during PCI scan on Alpha From: "David S. Miller" In-Reply-To: X-Mailer: Mew version 2.1 on Emacs 21.1 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org 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. - 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/