diff options
Diffstat (limited to 'drivers/lguest/x86')
-rw-r--r-- | drivers/lguest/x86/core.c | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/drivers/lguest/x86/core.c b/drivers/lguest/x86/core.c index e2f46b16ce31..0cc251cbc72a 100644 --- a/drivers/lguest/x86/core.c +++ b/drivers/lguest/x86/core.c | |||
@@ -316,13 +316,14 @@ void lguest_arch_handle_trap(struct lguest *lg) | |||
316 | return; | 316 | return; |
317 | break; | 317 | break; |
318 | case 32 ... 255: | 318 | case 32 ... 255: |
319 | /* These values mean a real interrupt occurred, in | 319 | /* These values mean a real interrupt occurred, in which case |
320 | * which case the Host handler has already been run. | 320 | * the Host handler has already been run. We just do a |
321 | * We just do a friendly check if another process | 321 | * friendly check if another process should now be run, then |
322 | * should now be run, then fall through to loop | 322 | * return to run the Guest again */ |
323 | * around: */ | ||
324 | cond_resched(); | 323 | cond_resched(); |
325 | case LGUEST_TRAP_ENTRY: /* Handled before re-entering Guest */ | 324 | return; |
325 | case LGUEST_TRAP_ENTRY: | ||
326 | lg->hcall = lg->regs; | ||
326 | return; | 327 | return; |
327 | } | 328 | } |
328 | 329 | ||