diff options
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/perf_counter.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/linux/perf_counter.h b/include/linux/perf_counter.h index 41aed4270057..f776851f8c4b 100644 --- a/include/linux/perf_counter.h +++ b/include/linux/perf_counter.h | |||
@@ -358,10 +358,13 @@ struct perf_mmap_data { | |||
358 | struct rcu_head rcu_head; | 358 | struct rcu_head rcu_head; |
359 | int nr_pages; /* nr of data pages */ | 359 | int nr_pages; /* nr of data pages */ |
360 | 360 | ||
361 | atomic_t wakeup; /* POLL_ for wakeups */ | 361 | atomic_t poll; /* POLL_ for wakeups */ |
362 | atomic_t head; /* write position */ | 362 | atomic_t head; /* write position */ |
363 | atomic_t events; /* event limit */ | 363 | atomic_t events; /* event limit */ |
364 | 364 | ||
365 | atomic_t wakeup_head; /* completed head */ | ||
366 | atomic_t lock; /* concurrent writes */ | ||
367 | |||
365 | struct perf_counter_mmap_page *user_page; | 368 | struct perf_counter_mmap_page *user_page; |
366 | void *data_pages[0]; | 369 | void *data_pages[0]; |
367 | }; | 370 | }; |