linux/arch/arm/nwfpe
Ingo Molnar c3edc4010e sched/headers: Move task_struct::signal and task_struct::sighand types and accessors into <linux/sched/signal.h>
task_struct::signal and task_struct::sighand are pointers, which would normally make it
straightforward to not define those types in sched.h.

That is not so, because the types are accompanied by a myriad of APIs (macros and inline
functions) that dereference them.

Split the types and the APIs out of sched.h and move them into a new header, <linux/sched/signal.h>.

With this change sched.h does not know about 'struct signal' and 'struct sighand' anymore,
trying to put accessors into sched.h as a test fails the following way:

  ./include/linux/sched.h: In function ‘test_signal_types’:
  ./include/linux/sched.h:2461:18: error: dereferencing pointer to incomplete type ‘struct signal_struct’
                    ^

This reduces the size and complexity of sched.h significantly.

Update all headers and .c code that relied on getting the signal handling
functionality from <linux/sched.h> to include <linux/sched/signal.h>.

The list of affected files in the preparatory patch was partly generated by
grepping for the APIs, and partly by doing coverage build testing, both
all[yes|mod|def|no]config builds on 64-bit and 32-bit x86, and an array of
cross-architecture builds.

Nevertheless some (trivial) build breakage is still expected related to rare
Kconfig combinations and in-flight patches to various kernel code, but most
of it should be handled by this patch.

Acked-by: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
2017-03-03 01:43:37 +01:00
..
ARM-gcc.h [ARM] "extern inline" -> "static inline" 2007-10-12 23:43:17 +01:00
ChangeLog ARM: arch/arm/nwfpe/ChangeLog: Checkpatch cleanup 2010-05-24 20:40:11 +01:00
Makefile ARM: Kill CONFIG_CPU_32 2009-12-18 16:07:53 +00:00
double_cpdo.c
entry.S ARM: swpan: fix nwfpe for uaccess changes 2015-09-09 23:26:11 +01:00
extended_cpdo.c
fpa11.c Disintegrate asm/system.h for ARM 2012-03-28 18:30:01 +01:00
fpa11.h [ARM] nwfpe: Add decleration for ExtendedCPDO 2009-05-15 12:49:08 +01:00
fpa11.inl [ARM] "extern inline" -> "static inline" 2007-10-12 23:43:17 +01:00
fpa11_cpdo.c
fpa11_cpdt.c [ARM] Convert asm/uaccess.h to linux/uaccess.h 2008-09-06 11:35:55 +01:00
fpa11_cprt.c [ARM] nwfpe: fix 'floatx80_is_nan' sparse warning 2009-05-15 12:49:14 +01:00
fpmodule.c sched/headers: Move task_struct::signal and task_struct::sighand types and accessors into <linux/sched/signal.h> 2017-03-03 01:43:37 +01:00
fpmodule.h
fpmodule.inl
fpopcode.c ARM: 7207/1: Use generic ARM instruction set condition code checks for nwfpe. 2011-12-13 08:52:02 +00:00
fpopcode.h ARM: 7207/1: Use generic ARM instruction set condition code checks for nwfpe. 2011-12-13 08:52:02 +00:00
fpsr.h ARM: arch/arm/nwfpe/fpsr.h: Checkpatch cleanup 2010-05-24 20:40:12 +01:00
milieu.h Update broken web addresses in arch directory. 2010-10-18 11:03:21 +02:00
single_cpdo.c
softfloat-macros Update broken web addresses in arch directory. 2010-10-18 11:03:21 +02:00
softfloat-specialize Update broken web addresses in arch directory. 2010-10-18 11:03:21 +02:00
softfloat.c Update broken web addresses in arch directory. 2010-10-18 11:03:21 +02:00
softfloat.h Update broken web addresses in arch directory. 2010-10-18 11:03:21 +02:00