From: cl349@firebug.cl.cam.ac.uk Date: Sat, 12 Mar 2005 21:38:47 +0000 (+0000) Subject: bitkeeper revision 1.1236.25.12 (42336167xwcAAiaO1PSL9AACpWN72g) X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~17857^2~26^2~9 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=3426dfdfaa3f8f3c5c5f7ec0c7b972a7d605b86b;p=xen.git bitkeeper revision 1.1236.25.12 (42336167xwcAAiaO1PSL9AACpWN72g) Fix fallout from Update to Linux 2.6.11. Signed-off-by: Christian Limpach --- diff --git a/linux-2.6.11-xen-sparse/drivers/xen/privcmd/privcmd.c b/linux-2.6.11-xen-sparse/drivers/xen/privcmd/privcmd.c index 5967f52842..c2cdbf9e72 100644 --- a/linux-2.6.11-xen-sparse/drivers/xen/privcmd/privcmd.c +++ b/linux-2.6.11-xen-sparse/drivers/xen/privcmd/privcmd.c @@ -28,6 +28,11 @@ #include #include +#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,