From d5e553d6e0a4bdea43adae7373e3fa144b9a1aaa Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" <hpa@linux.intel.com> Date: Fri, 11 Nov 2011 15:52:52 -0800 Subject: [PATCH] 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> --- kernel/trace/trace_syscalls.c | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/trace/trace_syscalls.c b/kernel/trace/trace_syscalls.c index cb654542c1a16..5f35f6f15d99a 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"