Commit f717a8d1 authored by Arnd Bergmann's avatar Arnd Bergmann
Browse files

arch: include linux/cpu.h for trap_init() prototype



some architectures run into a -Wmissing-prototypes warning
for trap_init()

arch/microblaze/kernel/traps.c:21:6: warning: no previous prototype for 'trap_init' [-Wmissing-prototypes]

Include the right header to avoid this consistently, removing
the extra declarations on m68k and x86 that were added as local
workarounds already.

Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
parent 4d868967
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment