[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [linux-2.6.18-xen] i386: Fix build warning.



# HG changeset patch
# User Keir Fraser <keir@xxxxxxxxxxxxx>
# Date 1192115004 -3600
# Node ID 7334d4ad4b526e5124d31c448586fa4da9d186f9
# Parent  e797297402885cc19e0799c7bcaf3e1acb427523
i386: Fix build warning.
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>
---
 arch/i386/mm/hypervisor.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletion(-)

diff -r e79729740288 -r 7334d4ad4b52 arch/i386/mm/hypervisor.c
--- a/arch/i386/mm/hypervisor.c Thu Oct 11 16:02:16 2007 +0100
+++ b/arch/i386/mm/hypervisor.c Thu Oct 11 16:03:24 2007 +0100
@@ -513,8 +513,9 @@ int xen_limit_pages_to_max_mfn(
 
        /* 3. Map the new pages in place of old pages. */
        for (i = 0, nr_mcl = 0; i < (1UL<<order); i++) {
+               unsigned long pfn;
                page = &pages[i];
-               unsigned long pfn = page_to_pfn(page);
+               pfn = page_to_pfn(page);
 
                frame = success ? out_frames[i] : in_frames[i];
 

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.