Merge branch 'for-linus' of git://git.kernel.dk/linux-block
[linux-2.6-microblaze.git] / kernel / trace / trace_syscalls.c
index 9c4eef2..696afe7 100644 (file)
@@ -565,7 +565,7 @@ static int perf_call_bpf_enter(struct bpf_prog *prog, struct pt_regs *regs,
        struct syscall_tp_t {
                unsigned long long regs;
                unsigned long syscall_nr;
-               unsigned long args[sys_data->nb_args];
+               unsigned long args[SYSCALL_DEFINE_MAXARGS];
        } param;
        int i;