diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2015-03-23 21:21:39 -0400 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2015-03-23 21:22:08 -0400 |
commit | 2f921b5bb0511fb698681d8ef35c48be7a9116bf (patch) | |
tree | e4f07e4d66f47c7af9142bf13e5851a77acec77f /arch/x86/lguest/boot.c | |
parent | 7042cb4eb30967b5eb9eeba04907882f04d6b6e5 (diff) |
lguest: suppress interrupts for single insn, not range.
The last patch reduced our interrupt-suppression region to one address,
so simplify the code somewhat.
Also, remove the obsolete undefined instruction ranges and the comment
which refers to lguest_guest.S instead of head_32.S.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'arch/x86/lguest/boot.c')
-rw-r--r-- | arch/x86/lguest/boot.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/x86/lguest/boot.c b/arch/x86/lguest/boot.c index 543510a2f9e0..13616d708389 100644 --- a/arch/x86/lguest/boot.c +++ b/arch/x86/lguest/boot.c | |||
@@ -87,8 +87,7 @@ | |||
87 | 87 | ||
88 | struct lguest_data lguest_data = { | 88 | struct lguest_data lguest_data = { |
89 | .hcall_status = { [0 ... LHCALL_RING_SIZE-1] = 0xFF }, | 89 | .hcall_status = { [0 ... LHCALL_RING_SIZE-1] = 0xFF }, |
90 | .noirq_start = (u32)lguest_noirq_start, | 90 | .noirq_iret = (u32)lguest_noirq_iret, |
91 | .noirq_end = (u32)lguest_noirq_end, | ||
92 | .kernel_address = PAGE_OFFSET, | 91 | .kernel_address = PAGE_OFFSET, |
93 | .blocked_interrupts = { 1 }, /* Block timer interrupts */ | 92 | .blocked_interrupts = { 1 }, /* Block timer interrupts */ |
94 | .syscall_vec = SYSCALL_VECTOR, | 93 | .syscall_vec = SYSCALL_VECTOR, |