trace: Include <asm/asm-offsets.h> in trace_syscalls.c
authorH. Peter Anvin <hpa@linux.intel.com>
Fri, 11 Nov 2011 23:52:52 +0000 (15:52 -0800)
committerH. Peter Anvin <hpa@linux.intel.com>
Thu, 17 Nov 2011 21:35:36 +0000 (13:35 -0800)
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>
kernel/trace/trace_syscalls.c

index cb654542c1a1621fc325cba70699f8b2d1be9658..5f35f6f15d99a9bff3530fee5dc27eeedf9576f2 100644 (file)
@@ -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"