]> git.baikalelectronics.ru Git - kernel.git/commit
x86: ptrace.c only needs export.h and not the full module.h
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Thu, 14 Feb 2013 20:14:02 +0000 (15:14 -0500)
committerH. Peter Anvin <hpa@linux.intel.com>
Thu, 14 Feb 2013 20:56:12 +0000 (12:56 -0800)
commite0e9a477d49ba1af0d0f23565a3995562ed56357
treed590c9647364312aabc43ad3117bd3033566bc89
parentdac166ce538960626f0aae346a9879e41b30b1c8
x86: ptrace.c only needs export.h and not the full module.h

Commit 6ec78321593a007d41258ba658bdd0d081b1431d ("x86-32: Export
kernel_stack_pointer() for modules") added an include of the
module.h header in conjunction with adding an EXPORT_SYMBOL_GPL
of kernel_stack_pointer.

But module.h should be avoided for simple exports, since it in turn
includes the world.  Swap the module.h for export.h instead.

Cc: Jiri Kosina <trivial@kernel.org>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Link: http://lkml.kernel.org/r/1360872842-28417-1-git-send-email-paul.gortmaker@windriver.com
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/kernel/ptrace.c