x86/mm: further cleanups of fault.c's include file section
Commit-ID: 56aea8468746e673a4bf50b6a13d97b2d1cbe1e8 Gitweb: http://git.kernel.org/tip/56aea8468746e673a4bf50b6a13d97b2d1cbe1e8 Author: Ingo Molnar <[email protected]> AuthorDate: Sun, 29 Mar 2009 23:47:48 +0200 Committer: Ingo Molnar <[email protected]> CommitDate: Mon, 30 Mar 2009 00:10:22 +0200
x86/mm: further cleanups of fault.c's include file section
Impact: cleanup
Eliminate more than 20 unnecessary #include lines in fault.c
Also fix include file dependency bug in asm/traps.h. (this was masked before, by implicit inclusion)
Cc Linus Torvalds <[email protected]>
Signed-off-by Ingo Molnar <[email protected]>
LKML-Reference: <new-submission>
Acked-by H. Peter Anvin <[email protected]>
--- arch/x86/include/asm/traps.h | 1 + arch/x86/mm/fault.c | 41 ++++++++--------------------------------- 2 files changed, 9 insertions(+), 33 deletions(-)
arch/x86/include/asm/traps.h +1 -0
@@ -2,6 +2,7 @@#define _ASM_X86_TRAPS_H#include <asm/debugreg.h> +#include <asm/siginfo.h> /* TRAP_TRACE, ... */ #ifdef CONFIG_X86_32 #define dotraplinkage
arch/x86/mm/fault.c +9 -34
49 lines not on this page · raw message
Commit-ID: a2bcd4731f77cb77ae4b5e4a3d7f5471cf346c33 Gitweb: http://git.kernel.org/tip/a2bcd4731f77cb77ae4b5e4a3d7f5471cf346c33 Author: Ingo Molnar <[email protected]> AuthorDate: Sun, 29 Mar 2009 23:47:48 +0200 Committer: Ingo Molnar <[email protected]> CommitDate: Mon, 30 Mar 2009 14:02:02 +0200
x86/mm: further cleanups of fault.c's include file section
Impact: cleanup
Eliminate more than 20 unnecessary #include lines in fault.c
Also fix include file dependency bug in asm/traps.h. (this was masked before, by implicit inclusion)
Signed-off-by Ingo Molnar <[email protected]>
LKML-Reference: <[email protected]>
Acked-by H. Peter Anvin <[email protected]>
--- arch/x86/include/asm/traps.h | 1 + arch/x86/mm/fault.c | 42 +++++++++--------------------------------- 2 files changed, 10 insertions(+), 33 deletions(-)
arch/x86/include/asm/traps.h +1 -0
@@ -2,6 +2,7 @@#define _ASM_X86_TRAPS_H#include <asm/debugreg.h> +#include <asm/siginfo.h> /* TRAP_TRACE, ... */ #ifdef CONFIG_X86_32 #define dotraplinkage
arch/x86/mm/fault.c +10 -34
50 lines not on this page · raw message