Re: [PATCH 5/8] trace: Include <asm/asm-offsets.h> intrace_syscalls.c

From: Steven Rostedt
Date: Thu Nov 17 2011 - 17:42:21 EST


On Thu, 2011-11-17 at 14:37 -0800, H. Peter Anvin wrote:
> From: "H. Peter Anvin" <hpa@xxxxxxxxxxxxxxx>
>
> Include <asm/asm-offsets.h> into trace_syscalls.c, to allow for
> NR_syscalls to be automatically generated.

Did this cause some sort of bug before? What was the issue before this
patch?

-- Steve

>
> Cc: Steven Rostedt <rostedt@xxxxxxxxxxx>
> Cc: Frederic Weisbecker <fweisbec@xxxxxxxxx>
> Cc: Ingo Molnar <mingo@xxxxxxx>
> Signed-off-by: H. Peter Anvin <hpa@xxxxxxxxxxxxxxx>
> ---
> kernel/trace/trace_syscalls.c | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/kernel/trace/trace_syscalls.c b/kernel/trace/trace_syscalls.c
> index cb65454..5f35f6f 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"


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/