perf: Fix broken union in 'struct perf_event_mmap_page'
authorAdrian Hunter <[email protected]>
Fri, 28 Jun 2013 13:22:17 +0000 (16:22 +0300)
committerIngo Molnar <[email protected]>
Tue, 23 Jul 2013 10:17:10 +0000 (12:17 +0200)
commit860f085b74e9f0075de8140ed3a1e5b5e3e39aa8
treee566463adab7255ef9192a5e861c1a27bac603b2
parenta5cdd40c9877e9aba704c020fd65d26b5cfecf18
perf: Fix broken union in 'struct perf_event_mmap_page'

The capabilities bits must not be "union'ed" together.
Put them in a separate struct.

Signed-off-by: Adrian Hunter <[email protected]>
Signed-off-by: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
include/uapi/linux/perf_event.h