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] xen, x86: fix warnings introduced by

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [linux-2.6.18-xen] xen, x86: fix warnings introduced by c/s 468
From: "Xen patchbot-linux-2.6.18-xen" <patchbot-linux-2.6.18-xen@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 20 Mar 2008 05:41:21 -0700
Delivery-date: Thu, 20 Mar 2008 05:46:41 -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.fraser@xxxxxxxxxx>
# Date 1205752885 0
# Node ID 14818545121dc84436f8d0dd70c593e42e98e29c
# Parent  3983b041fc5114e6599d482be2410b3f1d2cdb1e
xen,x86: fix warnings introduced by c/s 468

I overlooked the compiler warnings resulting from cases where the
argument of __pte_ma() is a plain zero.

Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>
---
 include/asm-i386/mach-xen/asm/maddr.h |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 3983b041fc51 -r 14818545121d include/asm-i386/mach-xen/asm/maddr.h
--- a/include/asm-i386/mach-xen/asm/maddr.h     Mon Mar 10 22:53:07 2008 +0000
+++ b/include/asm-i386/mach-xen/asm/maddr.h     Mon Mar 17 11:21:25 2008 +0000
@@ -154,7 +154,7 @@ static inline paddr_t pte_machine_to_phy
 #endif
 
 #ifdef CONFIG_X86_PAE
-#define __pte_ma(x)    ((pte_t) { (x), (x) >> 32 } )
+#define __pte_ma(x)    ((pte_t) { (x), (maddr_t)(x) >> 32 } )
 static inline pte_t pfn_pte_ma(unsigned long page_nr, pgprot_t pgprot)
 {
        pte_t pte;

_______________________________________________
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] xen, x86: fix warnings introduced by c/s 468, Xen patchbot-linux-2.6.18-xen <=