headers/deps: x86/modules: Optimize <asm/module.h> dependencies, remove <asm/orc_types.h> inclusion
--------------------------------------------------------------------
| Combined, preprocessed C code size of header, without line markers,
| with comments stripped:
-------------------------
before: | #include <asm/module.h> | LOC: 412 | headers: 39
after: | #include <asm/module.h> | LOC: 26 | headers: 17
Improves the footprint of <linux/module.h> a bit, which is included in 75% of .o files
on a distro kernel build.
Signed-off-by: Ingo Molnar <mingo@kernel.org>
diff --git a/arch/x86/include/asm/module.h b/arch/x86/include/asm/module.h
index e988bac..4900697 100644
--- a/arch/x86/include/asm/module.h
+++ b/arch/x86/include/asm/module.h
@@ -3,7 +3,8 @@
#define _ASM_X86_MODULE_H
#include <asm-generic/module.h>
-#include <asm/orc_types.h>
+
+struct orc_entry;
struct mod_arch_specific {
#ifdef CONFIG_UNWINDER_ORC