summaryrefslogtreecommitdiffstats
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
parente79a7fccfb2ab10f8753ac634a1c8473e870ae6c (diff)
downloadblackbird-op-linux-d5e553d6e0a4bdea43adae7373e3fa144b9a1aaa.tar.gz
blackbird-op-linux-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>
-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"
OpenPOWER on IntegriCloud