These files were getting <linux/module.h> via an implicit non-obvious path, but we want to crush those out of existence since they cost time during compiles of processing thousands of lines of headers for no reason. Give them the lightweight header that just contains the EXPORT_SYMBOL infrastructure.
Showing the changes to kernel/debug (1 of 10 files). Show all
Unified · Split
| @@ -11,6 +11,7 @@ · 10 unmodified lines | ||
| 11 | 11 | #include <linux/kgdb.h> |
| 12 | 12 | #include <linux/kdb.h> |
| 13 | 13 | #include <linux/kdebug.h> |
| 14 | +#include <linux/export.h> | |
| 14 | 15 | #include "kdb_private.h" |
| 15 | 16 | #include "../debug_core.h" |
| 16 | 17 | |