From 36adf4e43207ccd4dd1e214eec57f4b2a71a06d9 Mon Sep 17 00:00:00 2001 From: Andrew Boie Date: Wed, 1 Nov 2017 10:15:41 -0700 Subject: [PATCH] sys_io.h: don't pull in kernel.h Headers should only be pulling in other headers if that header needs it somewhere in its contents. Otherwise, pulling in other headers should be done by C files to avoid extremely difficult dependency loops (in this case, the main kernel.h and arch/cpu.h on ARM) Signed-off-by: Andrew Boie --- include/sys_io.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/sys_io.h b/include/sys_io.h index b9b0e469a46..d0eff865839 100644 --- a/include/sys_io.h +++ b/include/sys_io.h @@ -13,7 +13,6 @@ extern "C" { #endif -#include #include #include