sparc64: Fix maybe_change_configuration() PCR setting.
commitb7d45c3f741b114cdda9ee0cd727afaf60a1bf37
authorDavid S. Miller <davem@davemloft.net>
Wed, 23 Jun 2010 18:39:02 +0000 (23 11:39 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 23 Jun 2010 18:39:02 +0000 (23 11:39 -0700)
tree2712b7f5ddab5af1fbc67555d880216baefe7227
parent0d0659c78d7ea29ad6c3c538dcaae0227f31b9d2
sparc64: Fix maybe_change_configuration() PCR setting.

Need to mask out the existing event bits before OR'ing in
the new ones.

Noticed by Peter Zijlstra.

Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/kernel/perf_event.c