perf_events: Fix perf_event_attr layout
authorPeter Zijlstra <peterz@infradead.org>
Tue, 15 Dec 2009 18:43:11 +0000 (19:43 +0100)
committerIngo Molnar <mingo@elte.hu>
Tue, 15 Dec 2009 19:12:20 +0000 (20:12 +0100)
The miss-alignment of bp_addr created a 32bit hole, causing
different structure packings on 32 and 64 bit machines.

Fix that by moving __reserve_2 into that hole.

Further, remove the useless struct and redundant __bp_reserve
muck.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
LKML-Reference: <1260902591.8023.781.camel@laptop>
Signed-off-by: Ingo Molnar <mingo@elte.hu>

No differences found