Re: [PATCH] paravirt reorder functions to avoid unspecified behaviour

From: Andi Kleen
Date: Mon Nov 27 2006 - 06:13:57 EST


Andy Whitcroft <apw@xxxxxxxxxxxx> writes:

> paravirt: reorder functions to avoid unspecified behaviour
>
> The paravirt ops introduce a 'weak' attribute onto memory_setup().
> Code ordering leads to the following warnings on x86:
>
> arch/i386/kernel/setup.c:651: warning: weak declaration of
> `memory_setup' after first use results in unspecified behavior
>
> Move memory_setup() to avoid this.

I added the patch to the original patch thanks

-Andi
-
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/