mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
treewide: convert uses of ATTRIB_NORETURN to __noreturn
Use the more commonly used __noreturn instead of ATTRIB_NORETURN. [[email protected]: coding-style fixes] Signed-off-by: Joe Perches <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Haavard Skinnemoen <[email protected]> Cc: Hans-Christian Egtvedt <[email protected]> Cc: Tony Luck <[email protected]> Cc: Fenghua Yu <[email protected]> Acked-by: Geert Uytterhoeven <[email protected]> Acked-by: Ralf Baechle <[email protected]> Cc: Benjamin Herrenschmidt <[email protected]> Cc: Paul Mackerras <[email protected]> Cc: Martin Schwidefsky <[email protected]> Cc: Heiko Carstens <[email protected]> Cc: Chris Metcalf <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
9402c95f34
commit
ff2d8b19a3
12 changed files with 14 additions and 15 deletions
|
|
@ -70,7 +70,7 @@ void show_regs(struct pt_regs * regs)
|
|||
/*
|
||||
* Create a kernel thread
|
||||
*/
|
||||
ATTRIB_NORET void kernel_thread_helper(void *arg, int (*fn)(void *))
|
||||
__noreturn void kernel_thread_helper(void *arg, int (*fn)(void *))
|
||||
{
|
||||
do_exit(fn(arg));
|
||||
}
|
||||
|
|
|
|||
|
|
@ -285,7 +285,7 @@ void show_regs(struct pt_regs *regs)
|
|||
/*
|
||||
* Create a kernel thread
|
||||
*/
|
||||
ATTRIB_NORET void kernel_thread_helper(void *arg, int (*fn)(void *))
|
||||
__noreturn void kernel_thread_helper(void *arg, int (*fn)(void *))
|
||||
{
|
||||
do_exit(fn(arg));
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue