WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

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

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [linux-2.6.18-xen] i386: Fix build warning.
From: "Xen patchbot-linux-2.6.18-xen" <patchbot-linux-2.6.18-xen@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 11 Oct 2007 14:30:22 -0700
Delivery-date: Thu, 11 Oct 2007 14:31:30 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [linux-2.6.18-xen] i386: Fix build warning., Xen patchbot-linux-2.6.18-xen <=