• David Howells's avatar
    h8300: Fix die() · b857189d
    David Howells authored
    Fix h8300's die() to take care of a number of problems:
    
        CC      arch/h8300/kernel/traps.o
      In file included from arch/h8300/include/asm/bitops.h:10,
                       from include/linux/bitops.h:22,
                       from include/linux/kernel.h:17,
                       from include/linux/sched.h:54,
                       from arch/h8300/kernel/traps.c:18:
      arch/h8300/include/asm/system.h:136: warning: 'struct pt_regs' declared inside parameter list
      arch/h8300/include/asm/system.h:136: warning: its scope is only this definition or declaration, which is probably not what you want
      arch/h8300/kernel/traps.c:100: error: conflicting types for 'die'
      arch/h8300/include/asm/system.h:136: error: previous declaration of 'die' was here
      make[2]: *** [arch/h8300/kernel/traps.o] Error 1
    Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    b857189d
system.h 4.63 KB