Commit 19348e74 authored by Paul Gortmaker's avatar Paul Gortmaker Committed by H. Peter Anvin

x86: ptrace.c only needs export.h and not the full module.h

Commit cb57a2b4 ("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 <[email protected]>
Signed-off-by: default avatarPaul Gortmaker <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]Signed-off-by: default avatarH. Peter Anvin <[email protected]>
parent 8f170fae
......@@ -22,7 +22,7 @@
#include <linux/perf_event.h>
#include <linux/hw_breakpoint.h>
#include <linux/rcupdate.h>
#include <linux/module.h>
#include <linux/export.h>
#include <linux/context_tracking.h>
#include <asm/uaccess.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment