Skip to contentSkip to conversation

drivers/mtd: Apply sched include reorg to tests/mtd_test.h

patch-tip Mike Galbraith 2 participants 2 messages Feb 3, 2017 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

signal_pending() moved to linux/sched/signal.h, go get it.

---
 drivers/mtd/tests/mtd_test.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mtd/tests/mtd_test.h +1 -1
@@ -1,5 +1,5 @@
 #include <linux/mtd/mtd.h>
-#include <linux/sched.h>
+#include <linux/sched/signal.h>
 
 static inline int mtdtest_relax(void)
 {
#1 lore raw
Quoted 11 lines · Mike Galbraith

signal_pending() moved to linux/sched/signal.h, go get it.

---
 drivers/mtd/tests/mtd_test.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

drivers/mtd/tests/mtd_test.h line 2

Quoted 3 lines
drivers/mtd/tests/mtd_test.h +1 -1
@@ -1,5 +1,5 @@
 #include <linux/mtd/mtd.h>
-#include <linux/sched.h>
+#include <linux/sched/signal.h>

Thanks Mike, I backmerged this fix into the originating patch.

Ingo