bitkeeper revision 1.1236.25.12 (42336167xwcAAiaO1PSL9AACpWN72g)
authorcl349@firebug.cl.cam.ac.uk <cl349@firebug.cl.cam.ac.uk>
Sat, 12 Mar 2005 21:38:47 +0000 (21:38 +0000)
committercl349@firebug.cl.cam.ac.uk <cl349@firebug.cl.cam.ac.uk>
Sat, 12 Mar 2005 21:38:47 +0000 (21:38 +0000)
Fix fallout from Update to Linux 2.6.11.
Signed-off-by: Christian Limpach <chris@xensource.com>
linux-2.6.11-xen-sparse/drivers/xen/privcmd/privcmd.c

index 5967f52842928a3332b0562f5e613439b323a6c5..c2cdbf9e727e50d512eaf6aa7ef43dd78a25934c 100644 (file)
 #include <asm-xen/xen-public/dom0_ops.h>
 #include <asm-xen/xen_proc.h>
 
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,0)
+#define pud_t pgd_t
+#define pud_offset(d, va) d
+#endif
+
 static struct proc_dir_entry *privcmd_intf;
 
 static int privcmd_ioctl(struct inode *inode, struct file *file,