Re: 2.6.26-rc5-mm1: uml link error

From: Jeff Dike
Date: Tue Jun 10 2008 - 12:57:35 EST


On Tue, Jun 10, 2008 at 04:21:06PM +0200, Peter Oberparleiter wrote:
> Subject: kernel: disable constructor calling for uml
>
> From: Peter Oberparleiter <peter.oberparleiter@xxxxxxxxxx>
>
> 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/