]> git.baikalelectronics.ru Git - kernel.git/commit
exit_thread: remove empty bodies
authorJiri Slaby <jslaby@suse.cz>
Sat, 21 May 2016 00:00:16 +0000 (17:00 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 21 May 2016 00:58:30 +0000 (17:58 -0700)
commit4e42dd8917ab9e34411130556726c6d1aef3ca42
tree72f4f35d7d23295902f14fcb6687be1e172ae48f
parentebe7c5734781f2b2cef1973577cc9f4e48b3c54e
exit_thread: remove empty bodies

Define HAVE_EXIT_THREAD for archs which want to do something in
exit_thread. For others, let's define exit_thread as an empty inline.

This is a cleanup before we change the prototype of exit_thread to
accept a task parameter.

[akpm@linux-foundation.org: fix mips]
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: "James E.J. Bottomley" <jejb@parisc-linux.org>
Cc: Aurelien Jacquiot <a-jacquiot@ti.com>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Chen Liqin <liqin.linux@gmail.com>
Cc: Chris Metcalf <cmetcalf@mellanox.com>
Cc: Chris Zankel <chris@zankel.net>
Cc: David Howells <dhowells@redhat.com>
Cc: Fenghua Yu <fenghua.yu@intel.com>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Guan Xuetao <gxt@mprc.pku.edu.cn>
Cc: Haavard Skinnemoen <hskinnemoen@gmail.com>
Cc: Hans-Christian Egtvedt <egtvedt@samfundet.no>
Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
Cc: Helge Deller <deller@gmx.de>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
Cc: James Hogan <james.hogan@imgtec.com>
Cc: Jeff Dike <jdike@addtoit.com>
Cc: Jesper Nilsson <jesper.nilsson@axis.com>
Cc: Jiri Slaby <jslaby@suse.cz>
Cc: Jonas Bonn <jonas@southpole.se>
Cc: Koichi Yasutake <yasutake.koichi@jp.panasonic.com>
Cc: Lennox Wu <lennox.wu@gmail.com>
Cc: Ley Foon Tan <lftan@altera.com>
Cc: Mark Salter <msalter@redhat.com>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: Matt Turner <mattst88@gmail.com>
Cc: Max Filippov <jcmvbkbc@gmail.com>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: Michal Simek <monstr@monstr.eu>
Cc: Mikael Starvik <starvik@axis.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Rich Felker <dalias@libc.org>
Cc: Richard Henderson <rth@twiddle.net>
Cc: Richard Kuo <rkuo@codeaurora.org>
Cc: Richard Weinberger <richard@nod.at>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: Steven Miao <realmz6@gmail.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Tony Luck <tony.luck@intel.com>
Cc: Vineet Gupta <vgupta@synopsys.com>
Cc: Will Deacon <will.deacon@arm.com>
Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
36 files changed:
arch/Kconfig
arch/alpha/kernel/process.c
arch/arc/kernel/process.c
arch/arm/Kconfig
arch/arm64/kernel/process.c
arch/avr32/Kconfig
arch/blackfin/include/asm/processor.h
arch/c6x/kernel/process.c
arch/cris/Kconfig
arch/cris/arch-v10/kernel/process.c
arch/frv/include/asm/processor.h
arch/h8300/include/asm/processor.h
arch/hexagon/kernel/process.c
arch/ia64/Kconfig
arch/m32r/kernel/process.c
arch/m68k/include/asm/processor.h
arch/metag/Kconfig
arch/metag/include/asm/processor.h
arch/microblaze/include/asm/processor.h
arch/mips/kernel/process.c
arch/mn10300/Kconfig
arch/nios2/include/asm/processor.h
arch/openrisc/include/asm/processor.h
arch/parisc/kernel/process.c
arch/powerpc/kernel/process.c
arch/s390/Kconfig
arch/score/kernel/process.c
arch/sh/Kconfig
arch/sh/kernel/process_32.c
arch/sparc/Kconfig
arch/tile/Kconfig
arch/um/kernel/process.c
arch/unicore32/kernel/process.c
arch/x86/Kconfig
arch/xtensa/Kconfig
include/linux/sched.h