Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261218AbUJWOmw (ORCPT ); Sat, 23 Oct 2004 10:42:52 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261215AbUJWOmw (ORCPT ); Sat, 23 Oct 2004 10:42:52 -0400 Received: from phoenix.infradead.org ([81.187.226.98]:48395 "EHLO phoenix.infradead.org") by vger.kernel.org with ESMTP id S261260AbUJWOjS (ORCPT ); Sat, 23 Oct 2004 10:39:18 -0400 Date: Sat, 23 Oct 2004 15:39:12 +0100 From: Christoph Hellwig To: Jon Smirl Cc: lkml , Dave Airlie Subject: Re: [PATCH} Trivial - fix drm_agp symbol export Message-ID: <20041023143912.GA32532@infradead.org> Mail-Followup-To: Christoph Hellwig , Jon Smirl , lkml , Dave Airlie References: <9e473391041022214570eab48a@mail.gmail.com> <20041023095644.GC30137@infradead.org> <9e473391041023073578b11eb6@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9e473391041023073578b11eb6@mail.gmail.com> User-Agent: Mutt/1.4.1i X-SRS-Rewrite: SMTP reverse-path rewritten from by phoenix.infradead.org See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 769 Lines: 14 On Sat, Oct 23, 2004 at 10:35:41AM -0400, Jon Smirl wrote: > How do I deal with something like a Redhat kernel where CONFIG_AGP is > set but the kernel may be running on hardware without AGP present. In > this case the AGP modules will not be loaded but DRM will still have > symbol references to the AGP symbols. You have to have some kind of > weak symbol reference in this case. agpgart.o will load without any hardware present in 2.6, and you don't need the lowlevel drivers. 2.4 was slightly messed up in this regard. - 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/