[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] Defining PAGE_SIZE as int broke x86/64. Revert that change.
# HG changeset patch # User kaf24@xxxxxxxxxxxxxxxxxxxx # Node ID 349c15288793b704c06f0dfb791b7799eb90a695 # Parent f3da3a14cafd6bff4e6bb1dddcfa880b49b0b491 Defining PAGE_SIZE as int broke x86/64. Revert that change. diff -r f3da3a14cafd -r 349c15288793 xen/include/asm-x86/page.h --- a/xen/include/asm-x86/page.h Sat Aug 20 11:14:28 2005 +++ b/xen/include/asm-x86/page.h Sat Aug 20 11:51:50 2005 @@ -6,7 +6,11 @@ * It is important that the masks are signed quantities. This ensures that * the compiler sign-extends a 32-bit mask to 64 bits if that is required. */ +#ifndef __ASSEMBLY__ +#define PAGE_SIZE (1L << PAGE_SHIFT) +#else #define PAGE_SIZE (1 << PAGE_SHIFT) +#endif #define PAGE_MASK (~(PAGE_SIZE-1)) #define PAGE_FLAG_MASK (~0) _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |