csky: Fixup compile error
authorGuo Ren <guoren@linux.alibaba.com>
Wed, 30 Aug 2023 09:31:59 +0000 (05:31 -0400)
committerGuo Ren <guoren@linux.alibaba.com>
Wed, 30 Aug 2023 09:54:47 +0000 (05:54 -0400)
commit5195c35ac4f09bc45bde23b98d74c4f5d62bea65
tree2e2ccf39d588da92370874a90d0494209e643707
parentc8171a86b27401aa1f492dd1f080f3102264f1ab
csky: Fixup compile error

Add header file for asmlinkage macro.

Error log:
In file included from arch/csky/include/asm/ptrace.h:7,
                 from arch/csky/include/asm/elf.h:6,
                 from include/linux/elf.h:6,
                 from kernel/extable.c:6:
arch/csky/include/asm/traps.h:43:11: error: expected ';' before 'void'
   43 | asmlinkage void do_trap_unknown(struct pt_regs *regs);
      |           ^~~~~

Fixes: c8171a86b274 ("csky: Fixup -Wmissing-prototypes warning")
Reported-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Guo Ren <guoren@linux.alibaba.com>
Signed-off-by: Guo Ren <guoren@kernel.org>
arch/csky/include/asm/traps.h