--- zzzz-none-000/linux-3.10.107/arch/arc/include/asm/kgdb.h 2017-06-27 09:49:32.000000000 +0000 +++ scorpion-7490-727/linux-3.10.107/arch/arc/include/asm/kgdb.h 2021-02-04 17:41:59.000000000 +0000 @@ -31,7 +31,7 @@ __asm__ __volatile__ ("trap_s 0x4\n"); } -extern void kgdb_trap(struct pt_regs *regs, int param); +extern void kgdb_trap(struct pt_regs *regs); /* This is the numbering of registers according to the GDB. See GDB's * arc-tdep.h for details. @@ -57,7 +57,7 @@ }; #else -#define kgdb_trap(regs, param) +#define kgdb_trap(regs) #endif #endif /* __ARC_KGDB_H__ */