ia64/xen-unstable

changeset 6312:349c15288793

Defining PAGE_SIZE as int broke x86/64. Revert that change.
author kaf24@firebug.cl.cam.ac.uk
date Sat Aug 20 11:51:50 2005 +0000 (2005-08-20)
parents f3da3a14cafd
children bd5533956fb0
files xen/include/asm-x86/page.h
line diff
     1.1 --- a/xen/include/asm-x86/page.h	Sat Aug 20 11:14:28 2005 +0000
     1.2 +++ b/xen/include/asm-x86/page.h	Sat Aug 20 11:51:50 2005 +0000
     1.3 @@ -6,7 +6,11 @@
     1.4   * It is important that the masks are signed quantities. This ensures that
     1.5   * the compiler sign-extends a 32-bit mask to 64 bits if that is required.
     1.6   */
     1.7 +#ifndef __ASSEMBLY__
     1.8 +#define PAGE_SIZE           (1L << PAGE_SHIFT)
     1.9 +#else
    1.10  #define PAGE_SIZE           (1 << PAGE_SHIFT)
    1.11 +#endif
    1.12  #define PAGE_MASK           (~(PAGE_SIZE-1))
    1.13  #define PAGE_FLAG_MASK      (~0)
    1.14