diff options
author | Jiri Olsa <[email protected]> | 2012-03-23 15:41:20 +0100 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2012-03-24 08:46:59 +0100 |
commit | b01c3a0010aabadf745f3e7fdb9cab682e0a28a2 (patch) | |
tree | de5fab4234ea646edbbac28f3d7dfb28f28bb601 /net/lapb/lapb_timer.c | |
parent | 04a54d27ce9698d108d29c8a6a50c28f7446336b (diff) |
perf: Move mmap page data_head offset assertion out of header
Having the build time assertion in header is making the perf
build fail on x86 with:
../../include/linux/perf_event.h:411:32: error: variably modified \
‘__assert_mmap_data_head_offset’ at file scope [-Werror]
I'm moving the build time validation out of the header, because
I think it's better than to lessen the perf build warn/error
check.
Signed-off-by: Jiri Olsa <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions