aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/lguest/interrupts_and_traps.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/lguest/interrupts_and_traps.c')
-rw-r--r--drivers/lguest/interrupts_and_traps.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/lguest/interrupts_and_traps.c b/drivers/lguest/interrupts_and_traps.c
index 415fab0125ac..504091da1737 100644
--- a/drivers/lguest/interrupts_and_traps.c
+++ b/drivers/lguest/interrupts_and_traps.c
@@ -288,9 +288,10 @@ static int direct_trap(unsigned int num)
288 288
289 /* The Host needs to see page faults (for shadow paging and to save the 289 /* The Host needs to see page faults (for shadow paging and to save the
290 * fault address), general protection faults (in/out emulation) and 290 * fault address), general protection faults (in/out emulation) and
291 * device not available (TS handling), and of course, the hypercall 291 * device not available (TS handling), invalid opcode fault (kvm hcall),
292 * trap. */ 292 * and of course, the hypercall trap. */
293 return num != 14 && num != 13 && num != 7 && num != LGUEST_TRAP_ENTRY; 293 return num != 14 && num != 13 && num != 7 &&
294 num != 6 && num != LGUEST_TRAP_ENTRY;
294} 295}
295/*:*/ 296/*:*/
296 297