aszlig f6ae3948bc
tests/boot-stage1: Fix build of kcanary module
In bfe9c928c18583d3adfb5978a55b48c392649ef5 the default kernel has been
updated to version 4.14 and the declarations for allow_signal() and
signal_pending() are no longer exposed via kthread.h, so let's actually
use the right header files.

I've added a condition for kernel 4.10 and upwards to include the
linux/sched/signal.h header file, because that got introduced in version
4.10. Even if the declaration would still reside in kthread.h (I haven't
checked) for version 4.10 it won't hurt and the compilation will still
succeed.

Tested against kernel 4.9 and 4.14 and the build now succeeds.

Signed-off-by: aszlig <aszlig@nix.build>
2017-11-14 04:36:19 +01:00
..
2017-10-02 14:30:19 +10:30
2017-09-24 11:44:25 +02:00
2017-07-04 21:36:30 -04:00
2016-02-28 16:18:39 +01:00
2016-11-24 22:28:03 +01:00
2017-04-21 10:32:36 -04:00
2016-09-16 22:06:16 +02:00
2016-08-02 20:58:35 -04:00
2017-02-17 16:04:49 +01:00
2017-02-17 16:04:49 +01:00
2017-02-17 16:04:49 +01:00
2017-09-05 19:05:37 -04:00
2016-10-01 17:08:48 +02:00
2016-12-31 09:36:57 +01:00
2016-01-23 01:20:14 +01:00
2017-09-06 22:01:48 -04:00
2016-10-15 13:54:59 -04:00
2016-09-16 22:06:16 +02:00
2017-09-18 00:05:35 -07:00
2017-02-17 16:04:49 +01:00
2017-11-02 15:10:33 -04:00
2017-11-02 15:10:33 -04:00
2017-11-02 15:10:33 -04:00
2017-11-02 15:10:33 -04:00
2017-09-05 10:38:07 -04:00
2017-09-05 10:38:07 -04:00
2017-09-05 10:38:07 -04:00
2016-12-29 20:09:46 -05:00
2017-09-28 01:15:41 +02:00
2016-09-17 10:47:36 +01:00
2016-09-13 09:45:08 +02:00
2017-08-04 17:52:42 +02:00
2017-09-04 22:32:02 +02:00
2017-02-05 12:41:21 +03:00
2017-08-11 17:37:14 +02:00
2017-10-04 13:04:49 +02:00
2017-08-12 00:55:32 +02:00
2017-10-13 09:45:25 +02:00
2017-03-12 16:01:07 +01:00
2017-03-01 03:16:35 +03:00
2015-12-25 15:55:07 +01:00
2017-07-16 10:06:42 +01:00
2016-09-13 22:46:46 +02:00
2017-09-05 18:20:56 +02:00
2016-04-12 19:13:52 +02:00
2017-04-29 17:23:35 +00:00
2017-11-02 14:09:56 -04:00