summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/vm86.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/include/asm/vm86.h')
-rw-r--r--arch/x86/include/asm/vm86.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/include/asm/vm86.h b/arch/x86/include/asm/vm86.h
index 9e8ac5073ecb..62ee19909903 100644
--- a/arch/x86/include/asm/vm86.h
+++ b/arch/x86/include/asm/vm86.h
@@ -84,7 +84,7 @@ static inline int handle_vm86_trap(struct kernel_vm86_regs *a, long b, int c)
static inline void save_v86_state(struct kernel_vm86_regs *a, int b) { }
-#define free_vm86(t) do { } while(0)
+#define free_vm86(task) do { (void)(task); } while(0)
#endif /* CONFIG_VM86 */