Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755004AbYFJQ5e (ORCPT ); Tue, 10 Jun 2008 12:57:34 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752984AbYFJQ5Y (ORCPT ); Tue, 10 Jun 2008 12:57:24 -0400 Received: from [198.99.130.12] ([198.99.130.12]:35379 "EHLO saraswathi.solana.com" rhost-flags-FAIL-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1752511AbYFJQ5X (ORCPT ); Tue, 10 Jun 2008 12:57:23 -0400 Date: Tue, 10 Jun 2008 12:54:32 -0400 From: Jeff Dike To: Peter Oberparleiter Cc: Miklos Szeredi , akpm@linuxfoundation.org, linux-kernel@vger.kernel.org, Peter Oberparleiter Subject: Re: 2.6.26-rc5-mm1: uml link error Message-ID: <20080610165432.GA8339@c2.user-mode-linux.org> References: <484E8DD2.5050603@de.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <484E8DD2.5050603@de.ibm.com> User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 836 Lines: 23 On Tue, Jun 10, 2008 at 04:21:06PM +0200, Peter Oberparleiter wrote: > Subject: kernel: disable constructor calling for uml > > From: Peter Oberparleiter > > Disable calling of constructor functions from within the kernel for uml > as they are already called by the host run-time environment. OK, maybe it is the right fix. I didn't realize it was for gcov support only. It's still kinda ugly though. If you stick with this, I'd put comments on those ifdefs saying why UML is special. Jeff -- Work email - jdike at linux dot intel dot com -- 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/