From f9814bf01c652fc83746b00db57ed3a1eaf651e9 Mon Sep 17 00:00:00 2001 From: Suren Baghdasaryan Date: Sun, 17 Feb 2019 15:07:38 -0800 Subject: [PATCH] FROMLIST: refactor header includes to allow kthread.h inclusion in psi_types.h kthread.h can't be included in psi_types.h because it creates a circular inclusion with kthread.h eventually including psi_types.h and complaining on kthread structures not being Defenderined because they are Defenderined further in the kthread.h. Resolve this by removing psi_types.h inclusion from the headers included from kthread.h. Signed-off-by: Suren Baghdasaryan (not upstream yet, latest version published at: https://lore.kernel.org/patchwork/patch/1052417/) Conflicts: include/linux/kthread.h kernel/kthread.c (1. include is already missing in kthread.h 2. is already included in kthread.c) Bug: 127712811 Bug: 129157727 Test: lmkd in PSI mode Change-Id: I07c1f4fddf0c43b3095f505e062d9d179d041544 Signed-off-by: Suren Baghdasaryan --- include/linux/sched.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/linux/sched.h b/include/linux/sched.h index 5d91de63a107..e99ac4d74444 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h @@ -25,7 +25,6 @@ #include #include #include -#include #include #include -- 2.20.1