diff options
Diffstat (limited to 'arch/x86/kernel/vm86_32.c')
-rw-r--r-- | arch/x86/kernel/vm86_32.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/kernel/vm86_32.c b/arch/x86/kernel/vm86_32.c index af17e1c966dc..b466cab5ba15 100644 --- a/arch/x86/kernel/vm86_32.c +++ b/arch/x86/kernel/vm86_32.c | |||
@@ -336,8 +336,10 @@ static void do_sys_vm86(struct kernel_vm86_struct *info, struct task_struct *tsk | |||
336 | mark_screen_rdonly(tsk->mm); | 336 | mark_screen_rdonly(tsk->mm); |
337 | 337 | ||
338 | /*call __audit_syscall_exit since we do not exit via the normal paths */ | 338 | /*call __audit_syscall_exit since we do not exit via the normal paths */ |
339 | #ifdef CONFIG_AUDITSYSCALL | ||
339 | if (unlikely(current->audit_context)) | 340 | if (unlikely(current->audit_context)) |
340 | __audit_syscall_exit(1, 0); | 341 | __audit_syscall_exit(1, 0); |
342 | #endif | ||
341 | 343 | ||
342 | __asm__ __volatile__( | 344 | __asm__ __volatile__( |
343 | "movl %0,%%esp\n\t" | 345 | "movl %0,%%esp\n\t" |