From: Paul Gortmaker Date: Sat, 23 Jul 2016 18:01:45 +0000 (-0400) Subject: core: migrate exception table users off module.h and onto extable.h X-Git-Tag: v5.15~11859^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8a293be0d6fa0720809db6ac35a0552c51710cd2;p=platform%2Fkernel%2Flinux-starfive.git core: migrate exception table users off module.h and onto extable.h These files were including module.h for exception table related functions. We've now separated that content out into its own file "extable.h" so now move over to that and where possible, avoid all the extra header content in module.h that we don't really need to compile these non-modular files. Note: init/main.c still needs module.h for __init_or_module kernel/extable.c still needs module.h for is_module_text_address ...and so we don't get the benefit of removing module.h from the cpp feed for these two files, unlike the almost universal 1:1 exchange of module.h for extable.h we were able to do in the arch dirs. Cc: Rusty Russell Cc: Andrew Morton Cc: Linus Torvalds Acked-by: Jessica Yu Signed-off-by: Paul Gortmaker --- diff --git a/init/main.c b/init/main.c index b0c9d6f..5b244bc 100644 --- a/init/main.c +++ b/init/main.c @@ -12,6 +12,7 @@ #define DEBUG /* Enable initcall_debug */ #include +#include #include #include #include diff --git a/kernel/extable.c b/kernel/extable.c index e3beec4..b25d990 100644 --- a/kernel/extable.c +++ b/kernel/extable.c @@ -17,6 +17,7 @@ */ #include #include +#include #include #include #include diff --git a/kernel/module.c b/kernel/module.c index 38d4270..ded5a4a 100644 --- a/kernel/module.c +++ b/kernel/module.c @@ -17,6 +17,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #include +#include #include #include #include