Linus Torvalds
49f9c3552c
Merge tag 'init_task-20180117' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs
...
Pull init_task initializer cleanups from David Howells:
"It doesn't seem useful to have the init_task in a header file rather
than in a normal source file. We could consolidate init_task handling
instead and expand out various macros.
Here's a series of patches that consolidate init_task handling:
(1) Make THREAD_SIZE available to vmlinux.lds for cris, hexagon and
openrisc.
(2) Alter the INIT_TASK_DATA linker script macro to set
init_thread_union and init_stack rather than defining these in C.
Insert init_task and init_thread_into into the init_stack area in
the linker script as appropriate to the configuration, with
different section markers so that they end up correctly ordered.
We can then get merge ia64's init_task.c into the main one.
We then have a bunch of single-use INIT_*() macros that seem only
to be macros because they used to be used per-arch. We can then
expand these in place of the user and get rid of a few lines and
a lot of backslashes.
(3) Expand INIT_TASK() in place.
(4) Expand in place various small INIT_*() macros that are defined
conditionally. Expand them and surround them by #if[n]def/#endif
in the .c file as it takes fewer lines.
(5) Expand INIT_SIGNALS() and INIT_SIGHAND() in place.
(6) Expand INIT_STRUCT_PID in place.
These macros can then be discarded"
* tag 'init_task-20180117' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs:
Expand INIT_STRUCT_PID and remove
Expand the INIT_SIGNALS and INIT_SIGHAND macros and remove
Expand various INIT_* macros and remove
Expand INIT_TASK() in init/init_task.c and remove
Construct init thread stack in the linker script rather than by union
openrisc: Make THREAD_SIZE available to vmlinux.lds
hexagon: Make THREAD_SIZE available to vmlinux.lds
cris: Make THREAD_SIZE available to vmlinux.lds
2018-01-29 09:08:34 -08:00
..
2017-11-29 18:40:42 -08:00
2017-11-16 12:47:46 -08:00
2017-01-14 09:54:12 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-08-31 14:26:47 +10:00
2017-03-21 22:09:26 +11:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-06-02 19:23:56 +10:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2016-08-01 11:15:03 +10:00
2017-11-02 11:10:55 +01:00
2017-03-04 23:07:17 +11:00
2017-11-02 11:10:55 +01:00
2017-11-01 15:50:12 +11:00
2017-11-15 08:08:36 -05:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2016-07-21 20:33:57 +10:00
2017-11-02 11:10:55 +01:00
2017-11-16 12:47:46 -08:00
2017-11-02 11:10:55 +01:00
2017-02-01 09:14:07 +01:00
2017-11-02 11:10:55 +01:00
2017-06-19 19:46:27 +10:00
2016-08-01 11:15:03 +10:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-04-11 07:46:03 +10:00
2017-07-02 20:40:24 +10:00
2017-01-24 12:23:35 -05:00
2017-04-20 11:36:41 +10:00
2017-11-14 16:54:12 -08:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-06 17:40:00 +11:00
2017-07-10 16:32:36 -07:00
2017-09-27 08:23:22 +10:00
2017-10-06 20:50:58 +11:00
2018-01-10 03:07:30 +11:00
2018-01-10 21:27:06 +11:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-08-31 14:26:04 +10:00
2017-11-02 11:10:55 +01:00
2018-01-10 21:27:06 +11:00
2017-02-09 21:45:48 +11:00
2017-08-15 22:55:58 +10:00
2017-10-19 16:37:08 +02:00
2017-08-10 23:32:12 +10:00
2017-02-27 18:43:46 -08:00
2016-03-04 23:50:27 -06:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2016-09-09 16:18:07 +10:00
2017-11-16 12:47:46 -08:00
2018-01-17 23:30:46 +11:00
2017-11-02 11:10:55 +01:00
2017-11-16 12:47:46 -08:00
2016-03-01 19:27:20 +11:00
2017-11-02 11:10:55 +01:00
2017-09-01 16:42:50 +10:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-22 23:04:23 +11:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-04-21 21:08:47 +10:00
2017-06-28 06:54:33 -07:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2016-08-05 09:00:54 -04:00
2017-07-24 21:19:32 +10:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-10-04 23:42:17 +11:00
2016-11-24 09:24:23 +11:00
2017-11-01 15:36:21 +11:00
2017-11-01 15:36:41 +11:00
2017-11-01 15:36:21 +11:00
2017-11-01 15:36:35 +11:00
2017-11-23 14:17:54 +11:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2016-12-19 11:15:25 +01:00
2017-11-02 11:10:55 +01:00
2017-12-05 23:21:46 +11:00
2017-11-02 11:10:55 +01:00
2017-10-16 23:12:01 +11:00
2017-11-02 11:10:55 +01:00
2016-08-05 09:00:54 -04:00
2017-12-23 11:53:04 -08:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-05-15 19:31:38 +10:00
2017-11-02 11:10:55 +01:00
2015-10-22 16:06:08 +02:00
2016-07-14 21:12:06 +10:00
2015-10-22 15:19:40 +02:00
2017-11-02 11:10:55 +01:00
2016-09-20 20:57:12 +10:00
2017-11-02 11:10:55 +01:00
2015-10-05 21:32:50 +11:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-10-21 09:33:05 +11:00
2017-11-06 20:39:28 +11:00
2018-01-10 21:27:06 +11:00
2017-11-02 11:10:55 +01:00
2017-11-06 16:48:14 +11:00
2017-05-19 13:04:35 +10:00
2017-11-02 11:10:55 +01:00
2017-11-06 16:48:12 +11:00
2017-11-07 18:38:48 -06:00
2017-11-02 11:10:55 +01:00
2017-04-19 20:00:22 +10:00
2017-11-15 18:21:04 -08:00
2017-11-16 12:47:46 -08:00
2017-11-16 12:47:46 -08:00
2017-11-02 11:10:55 +01:00
2018-01-10 01:46:34 +11:00
2016-06-14 13:58:26 +10:00
2017-11-02 11:10:55 +01:00
2017-08-08 11:27:30 +10:00
2017-10-21 09:33:05 +11:00
2016-07-14 21:12:06 +10:00
2017-11-06 16:48:08 +11:00
2017-09-01 16:39:48 +10:00
2016-11-22 11:57:08 +11:00
2017-11-12 09:03:09 +11:00
2017-09-02 21:02:38 +10:00
2017-01-24 12:23:35 -05:00
2016-06-14 13:58:26 +10:00
2017-11-02 11:10:55 +01:00
2017-08-17 23:13:46 +10:00
2016-06-14 13:58:27 +10:00
2017-11-02 11:10:55 +01:00
2017-08-03 16:06:52 +10:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-02-17 17:57:30 +11:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-01-10 21:27:06 +11:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-08-31 14:26:56 +10:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-10-10 11:50:19 +02:00
2017-09-01 16:42:44 +10:00
2017-11-16 12:47:46 -08:00
2017-01-24 12:23:35 -05:00
2017-11-16 12:47:46 -08:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2016-07-17 16:42:47 +10:00
2018-01-09 23:21:02 +00:00
2016-08-01 11:15:03 +10:00
2017-11-02 11:10:55 +01:00
2017-08-23 22:28:38 +10:00
2017-11-06 16:48:14 +11:00
2017-11-16 12:47:46 -08:00
2017-11-16 12:47:46 -08:00
2017-11-02 11:10:55 +01:00
2015-09-16 15:47:51 +02:00
2016-06-14 13:58:26 +10:00
2016-06-14 13:58:27 +10:00
2017-11-16 12:47:46 -08:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-03-16 20:45:53 +11:00
2017-11-02 11:10:55 +01:00
2017-11-12 09:03:10 +11:00
2015-11-26 22:11:17 +11:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2016-11-14 11:11:51 +11:00
2017-11-02 11:10:55 +01:00
2016-11-29 09:14:50 +00:00
2017-04-10 21:41:34 +10:00
2017-09-02 21:02:37 +10:00
2017-04-10 21:41:34 +10:00
2016-08-01 11:15:03 +10:00