parisc: mark parisc_terminate() noreturn and cold.
authorHelge Deller <deller@gmx.de>
Wed, 9 Oct 2013 21:12:46 +0000 (23:12 +0200)
committerHelge Deller <deller@gmx.de>
Sun, 13 Oct 2013 15:44:49 +0000 (17:44 +0200)
Signed-off-by: Helge Deller <deller@gmx.de>
arch/parisc/include/asm/traps.h

index 1945f995f2dfec1212ed8e1769168085076d9bb1..4736020ba5eabeb05841e5a9dc4834026f61a92d 100644 (file)
@@ -6,7 +6,7 @@ struct pt_regs;
 
 /* traps.c */
 void parisc_terminate(char *msg, struct pt_regs *regs,
-               int code, unsigned long offset);
+               int code, unsigned long offset) __noreturn __cold;
 
 /* mm/fault.c */
 void do_page_fault(struct pt_regs *regs, unsigned long code,