ia64/xen-unstable

changeset 4040:95895a9b2358

bitkeeper revision 1.1236.16.1 (422ed7e7yYUESLC-7uwebq93laZxlw)

Stubbed out userspace access to granttables
author cwc22@donkeykong.cl.cam.ac.uk
date Wed Mar 09 11:03:03 2005 +0000 (2005-03-09)
parents 8c5837440371
children a1a4e6ed8109
files linux-2.6.10-xen-sparse/arch/xen/kernel/gnttab.c
line diff
     1.1 --- a/linux-2.6.10-xen-sparse/arch/xen/kernel/gnttab.c	Wed Mar 09 10:08:43 2005 +0000
     1.2 +++ b/linux-2.6.10-xen-sparse/arch/xen/kernel/gnttab.c	Wed Mar 09 11:03:03 2005 +0000
     1.3 @@ -168,7 +168,11 @@ static int grant_ioctl(struct inode *ino
     1.4  {
     1.5      int                     ret;
     1.6      privcmd_hypercall_t     hypercall;
     1.7 -                                                                                        
     1.8 +
     1.9 +    /* XXX Need safety checks here if using for anything other
    1.10 +     *     than debugging */
    1.11 +    return -ENOSYS;
    1.12 +
    1.13      if ( cmd != IOCTL_PRIVCMD_HYPERCALL )
    1.14          return -ENOSYS;
    1.15