--- zzzz-none-000/linux-2.6.39.4/arch/x86/include/asm/vm86.h 2011-08-03 19:43:28.000000000 +0000 +++ puma6-arm-6490-729/linux-2.6.39.4/arch/x86/include/asm/vm86.h 2021-11-10 13:23:10.000000000 +0000 @@ -196,7 +196,7 @@ #define handle_vm86_fault(a, b) #define release_vm86_irqs(a) -static inline int handle_vm86_trap(struct kernel_vm86_regs *a, long b, int c) +static inline int handle_vm86_trap(struct kernel_vm86_regs *a __attribute__((unused)), long b __attribute__((unused)), int c __attribute__((unused))) { return 0; }