perf: Provide generic perf_sample_data initialization
[linux-2.6.git] / arch / sparc / kernel / perf_event.c
index 9f2b2ba..6504208 100644 (file)
@@ -1189,7 +1189,7 @@ static int __kprobes perf_event_nmi_handler(struct notifier_block *self,
 
        regs = args->regs;
 
-       data.addr = 0;
+       perf_sample_data_init(&data, 0);
 
        cpuc = &__get_cpu_var(cpu_hw_events);