diff options
-rw-r--r-- | kernel/perf_counter.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/perf_counter.c b/kernel/perf_counter.c index 5c6fae4f43d8..ff854fd89a81 100644 --- a/kernel/perf_counter.c +++ b/kernel/perf_counter.c | |||
@@ -2666,6 +2666,7 @@ static void perf_counter_output(struct perf_counter *counter, int nmi, | |||
2666 | header.size += sizeof(cpu_entry); | 2666 | header.size += sizeof(cpu_entry); |
2667 | 2667 | ||
2668 | cpu_entry.cpu = raw_smp_processor_id(); | 2668 | cpu_entry.cpu = raw_smp_processor_id(); |
2669 | cpu_entry.reserved = 0; | ||
2669 | } | 2670 | } |
2670 | 2671 | ||
2671 | if (sample_type & PERF_SAMPLE_PERIOD) | 2672 | if (sample_type & PERF_SAMPLE_PERIOD) |