[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [linux-2.6.18-xen] xen, x86: fix warnings introduced by c/s 468
# 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
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |