aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/trace
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@linux.intel.com>2011-11-11 15:52:52 -0800
committerH. Peter Anvin <hpa@linux.intel.com>2011-11-17 13:35:36 -0800
commitd5e553d6e0a4bdea43adae7373e3fa144b9a1aaa (patch)
tree4100cdbde899ca3688767606af7854b4e2822674 /kernel/trace
parentx86-64, ia32: Move compat_ni_syscall into C and its own file (diff)
downloadlinux-dev-d5e553d6e0a4bdea43adae7373e3fa144b9a1aaa.tar.xz
linux-dev-d5e553d6e0a4bdea43adae7373e3fa144b9a1aaa.zip
trace: Include <asm/asm-offsets.h> in trace_syscalls.c
Include <asm/asm-offsets.h> into trace_syscalls.c, to allow for NR_syscalls to be automatically generated. Cc: Steven Rostedt <rostedt@goodmis.org> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Ingo Molnar <mingo@elte.hu> Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'kernel/trace')
-rw-r--r--kernel/trace/trace_syscalls.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/trace/trace_syscalls.c b/kernel/trace/trace_syscalls.c
index cb654542c1a1..5f35f6f15d99 100644
--- a/kernel/trace/trace_syscalls.c
+++ b/kernel/trace/trace_syscalls.c
@@ -6,6 +6,7 @@
#include <linux/ftrace.h>
#include <linux/perf_event.h>
#include <asm/syscall.h>
+#include <asm/asm-offsets.h>
#include "trace_output.h"
#include "trace.h"