• Arnd Bergmann's avatar
    arch: include linux/cpu.h for trap_init() prototype · f717a8d1
    Arnd Bergmann authored
    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>
    f717a8d1
traps.c 25.1 KB