diff options
author | Ingo Molnar <mingo@kernel.org> | 2021-12-21 12:15:45 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2022-03-15 12:57:40 +0100 |
commit | e0be231c713f13cd5c9a5dd0fb504677f78c46fa (patch) | |
tree | e1ff272e26d8aed581327f66692c8ddcf066f68a | |
parent | 5bded806a16bf211296e23217514ababf3ea3b32 (diff) | |
download | tip-e0be231c713f13cd5c9a5dd0fb504677f78c46fa.tar.gz |
headers/deps: x86/stacktrace: Optimize <asm/stacktrace.h> dependencies, remove <asm/switch_to.h> inclusion
--------------------------------------------------------------------
| Combined, preprocessed C code size of header, without line markers,
| with comments stripped:
-------------------------
before: | #include <asm/stacktrace.h> | LOC: 8,312 | headers: 229
after: | #include <asm/stacktrace.h> | LOC: 3,416 | headers: 161
Signed-off-by: Ingo Molnar <mingo@kernel.org>
-rw-r--r-- | arch/x86/include/asm/stacktrace.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/x86/include/asm/stacktrace.h b/arch/x86/include/asm/stacktrace.h index 13169ba98e53c..500ddf5cbc96d 100644 --- a/arch/x86/include/asm/stacktrace.h +++ b/arch/x86/include/asm/stacktrace.h @@ -11,7 +11,6 @@ #include <linux/ptrace.h> #include <asm/cpu_entry_area.h> -#include <asm/switch_to.h> enum stack_type { STACK_TYPE_UNKNOWN, |