ia64/xen-unstable

changeset 10184:26b8e3e7430d

Allow compat hypercalls to be made via privcmd (to support older userspaces).
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
author kaf24@firebug.cl.cam.ac.uk
date Thu May 25 21:24:47 2006 +0100 (2006-05-25)
parents 218daa547e8a
children 93db1b536f38
files linux-2.6-xen-sparse/drivers/xen/privcmd/privcmd.c
line diff
     1.1 --- a/linux-2.6-xen-sparse/drivers/xen/privcmd/privcmd.c	Thu May 25 21:18:55 2006 +0100
     1.2 +++ b/linux-2.6-xen-sparse/drivers/xen/privcmd/privcmd.c	Thu May 25 21:24:47 2006 +0100
     1.3 @@ -267,6 +267,9 @@ static int __init privcmd_init(void)
     1.4  	set_bit(__HYPERVISOR_mmuext_op,        hypercall_permission_map);
     1.5  	set_bit(__HYPERVISOR_xen_version,      hypercall_permission_map);
     1.6  	set_bit(__HYPERVISOR_sched_op,         hypercall_permission_map);
     1.7 +	set_bit(__HYPERVISOR_sched_op_compat,  hypercall_permission_map);
     1.8 +	set_bit(__HYPERVISOR_event_channel_op_compat,
     1.9 +		hypercall_permission_map);
    1.10  
    1.11  	privcmd_intf = create_xen_proc_entry("privcmd", 0400);
    1.12  	if (privcmd_intf != NULL)