Jiri Slaby
1919a3ef5a
BACKPORT: 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>
(cherry picked from commit 5f56a5dfdb)
Conflicts:
arch/powerpc/kernel/process.c
arch/xtensa/Kconfig
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2018-03-05 21:56:13 +05:30
..
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2013-11-26 11:09:17 +01:00
2009-01-16 21:58:10 +10:00
2010-05-26 19:51:09 +02:00
2009-01-16 21:58:10 +10:00
2013-11-26 11:09:18 +01:00
2009-12-12 13:08:14 +01:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2014-11-20 09:11:13 +01:00
2014-05-26 22:41:24 +02:00
2013-11-26 11:09:15 +01:00
2015-01-15 13:44:51 +01:00
2011-05-19 18:19:11 +02:00
2015-09-23 09:54:28 +02:00
2014-04-18 14:20:37 +02:00
2011-12-10 19:52:48 +01:00
2013-12-08 11:01:48 +01:00
2011-03-31 11:26:23 -03:00
2009-03-24 15:17:44 +10:00
2009-03-24 15:17:45 +10:00
2009-01-16 21:58:10 +10:00
2010-08-11 08:59:21 -07:00
2012-07-17 15:49:34 +10:00
2012-09-27 23:28:40 +10:00
2012-10-02 18:01:25 +01:00
2011-12-24 21:47:57 +10:00
2015-05-13 10:55:42 +02:00
2015-07-13 09:34:39 +10:00
2015-02-03 14:16:23 +10:00
2009-01-16 21:58:10 +10:00
2009-03-24 15:17:45 +10:00
2016-12-15 08:49:23 -08:00
2013-08-14 11:46:30 +02:00
2013-02-09 14:23:36 +01:00
2013-04-29 09:17:58 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2013-02-26 02:46:08 -05:00
2012-04-22 20:16:50 +02:00
2009-03-24 15:17:44 +10:00
2010-02-05 12:22:42 +01:00
2012-05-20 21:21:33 +10:00
2013-09-26 09:54:16 +02:00
2011-12-30 10:20:47 +10:00
2009-03-02 16:49:37 -05:00
2013-05-29 16:56:45 +10:00
2013-11-13 20:21:46 +01:00
2013-11-26 11:09:19 +01:00
2009-01-16 21:58:10 +10:00
2010-08-18 12:44:31 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2015-08-25 09:59:19 +02:00
2015-06-07 15:28:57 +02:00
2014-10-20 18:49:18 +01:00
2015-09-16 15:47:51 +02:00
2015-05-19 08:39:11 +02:00
2015-07-17 16:39:53 -07:00
2013-12-08 11:01:47 +01:00
2015-09-28 09:59:45 +02:00
2011-01-05 15:19:20 +10:00
2013-04-29 09:17:58 +10:00
2013-04-29 09:17:59 +10:00
2013-04-29 09:17:57 +10:00
2012-09-27 23:34:03 +10:00
2014-09-29 09:56:19 +10:00
2014-05-26 13:28:38 +10:00
2012-07-16 09:59:22 +10:00
2012-09-27 23:34:04 +10:00
2014-05-26 13:28:37 +10:00
2015-03-30 09:52:24 +10:00
2012-09-27 23:33:55 +10:00
2012-09-27 23:33:51 +10:00
2012-09-27 23:34:05 +10:00
2012-09-27 23:34:07 +10:00
2012-09-27 23:34:08 +10:00
2012-07-16 09:59:21 +10:00
2012-10-02 18:01:25 +01:00
2015-03-30 09:52:24 +10:00
2011-03-31 11:26:23 -03:00
2009-01-16 21:58:10 +10:00
2012-10-02 18:01:25 +01:00
2009-01-16 21:58:10 +10:00
2011-12-10 19:52:46 +01:00
2011-12-10 19:52:46 +01:00
2011-12-10 19:52:47 +01:00
2011-12-10 19:52:46 +01:00
2015-09-16 15:47:51 +02:00
2012-12-24 09:36:34 -07:00
2009-01-16 21:58:10 +10:00
2010-02-27 18:31:09 +01:00
2015-01-11 11:38:46 +01:00
2011-12-10 19:52:47 +01:00
2009-08-31 18:08:49 +02:00
2013-12-08 11:03:22 +01:00
2011-04-10 17:01:05 +02:00
2011-04-10 17:01:05 +02:00
2013-03-04 11:08:50 +10:00
2012-07-12 07:54:45 -07:00
2013-11-15 09:32:17 +09:00
2015-02-10 14:30:32 -08:00
2012-12-05 10:51:24 +10:00
2011-03-15 21:01:54 +10:00
2014-05-26 13:28:38 +10:00
2009-09-16 09:43:52 +10:00
2011-12-30 10:20:38 +10:00
2011-03-15 21:01:54 +10:00
2015-03-15 10:23:30 +01:00
2013-04-29 09:17:58 +10:00
2012-09-27 23:34:01 +10:00
2013-04-29 09:17:58 +10:00
2012-07-16 09:59:21 +10:00
2009-01-16 21:58:10 +10:00
2011-12-30 10:20:34 +10:00
2009-03-24 15:17:42 +10:00
2009-01-16 21:58:10 +10:00
2012-09-28 14:31:03 +09:30
2013-11-15 09:32:17 +09:00
2015-02-10 14:30:32 -08:00
2009-01-16 21:58:10 +10:00
2013-11-26 11:09:21 +01:00
2009-01-16 21:58:10 +10:00
2011-03-16 19:10:41 +01:00
2012-09-27 23:33:54 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2013-08-26 16:51:14 +10:00
2012-12-05 10:51:22 +10:00
2011-12-30 10:20:31 +10:00
2013-08-26 16:51:14 +10:00
2013-06-24 19:44:19 +02:00
2012-07-17 15:49:41 +10:00
2011-12-30 10:20:40 +10:00
2015-02-28 09:57:51 -08:00
2015-02-10 14:30:32 -08:00
2012-10-02 18:01:25 +01:00
2018-03-05 21:56:13 +05:30
2012-12-19 18:07:39 -05:00
2012-10-02 18:01:25 +01:00
2011-11-08 22:35:52 +01:00
2009-01-16 21:58:10 +10:00
2013-04-16 21:08:11 +02:00
2009-04-02 01:05:31 +00:00
2015-01-13 15:24:03 +02:00
2015-05-06 22:27:00 +02:00
2013-11-26 11:09:16 +01:00
2014-06-06 16:08:11 -07:00
2009-01-16 21:58:10 +10:00
2013-06-24 19:44:18 +02:00
2014-07-26 17:48:34 +02:00
2015-02-10 14:30:32 -08:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2013-09-26 09:54:16 +02:00
2009-01-16 21:58:10 +10:00
2012-03-28 18:30:02 +01:00
2015-04-12 20:58:25 +02:00
2013-11-26 11:09:24 +01:00
2009-01-16 21:58:10 +10:00
2011-12-30 10:20:30 +10:00
2011-12-24 21:47:57 +10:00
2015-01-13 15:23:28 +02:00
2009-01-16 21:58:10 +10:00
2013-09-10 11:06:17 +02:00
2011-12-24 21:47:57 +10:00
2012-06-10 10:18:32 +02:00
2015-11-22 11:35:26 +01:00
2009-01-16 21:58:10 +10:00
2012-04-22 20:16:50 +02:00
2014-06-20 15:11:20 +10:00
2009-01-16 21:58:10 +10:00