lkml.org 
[lkml]   [2006]   [Nov]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] paravirt reorder functions to avoid unspecified behaviour
From
Date
Andy Whitcroft <apw@shadowen.org> 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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-11-27 12:15    [W:0.272 / U:32.236 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site