ia64/xen-unstable

changeset 4116:c0c50017de07

bitkeeper revision 1.1236.25.12 (42336167xwcAAiaO1PSL9AACpWN72g)

Fix fallout from Update to Linux 2.6.11.
Signed-off-by: Christian Limpach <chris@xensource.com>
author cl349@firebug.cl.cam.ac.uk
date Sat Mar 12 21:38:47 2005 +0000 (2005-03-12)
parents aa5288628539
children f234096eb41e ef90e028e868
files linux-2.6.11-xen-sparse/drivers/xen/privcmd/privcmd.c
line diff
     1.1 --- a/linux-2.6.11-xen-sparse/drivers/xen/privcmd/privcmd.c	Sat Mar 12 21:33:06 2005 +0000
     1.2 +++ b/linux-2.6.11-xen-sparse/drivers/xen/privcmd/privcmd.c	Sat Mar 12 21:38:47 2005 +0000
     1.3 @@ -28,6 +28,11 @@
     1.4  #include <asm-xen/xen-public/dom0_ops.h>
     1.5  #include <asm-xen/xen_proc.h>
     1.6  
     1.7 +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,0)
     1.8 +#define pud_t pgd_t
     1.9 +#define pud_offset(d, va) d
    1.10 +#endif
    1.11 +
    1.12  static struct proc_dir_entry *privcmd_intf;
    1.13  
    1.14  static int privcmd_ioctl(struct inode *inode, struct file *file,