diff options
Diffstat (limited to 'xenolinux-2.4.21-pre4-sparse/include/asm-xeno/hypervisor.h')
-rw-r--r-- | xenolinux-2.4.21-pre4-sparse/include/asm-xeno/hypervisor.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/xenolinux-2.4.21-pre4-sparse/include/asm-xeno/hypervisor.h b/xenolinux-2.4.21-pre4-sparse/include/asm-xeno/hypervisor.h index 887a01b231..da0e1a19e0 100644 --- a/xenolinux-2.4.21-pre4-sparse/include/asm-xeno/hypervisor.h +++ b/xenolinux-2.4.21-pre4-sparse/include/asm-xeno/hypervisor.h @@ -364,13 +364,14 @@ static inline long HYPERVISOR_kbd_op(unsigned char op, unsigned char val) return ret; } -static inline long HYPERVISOR_iopl(unsigned int new_iopl) +static inline long HYPERVISOR_set_priv_levels(unsigned int new_io_pl, + unsigned int new_hypercall_pl) { int ret; __asm__ __volatile__ ( TRAP_INSTR - : "=a" (ret) : "0" (__HYPERVISOR_iopl), - "b" (new_iopl) ); + : "=a" (ret) : "0" (__HYPERVISOR_set_priv_levels), + "b" (new_io_pl), "c" (new_hypercall_pl) ); return ret; } |