[PATCH] ppc64: fix oprofile sample bit handling
authorAnton Blanchard <anton@samba.org>
Mon, 7 Nov 2005 07:43:56 +0000 (18:43 +1100)
committerPaul Mackerras <paulus@samba.org>
Tue, 8 Nov 2005 00:19:55 +0000 (11:19 +1100)
commitcb09cff30ad22408eea9b2785555af2d2b0ac1bd
tree07b41289038c9665c4626174f92abbbeeef9d445
parentbcb3557694d4e880051795ad97d609d255bcb658
[PATCH] ppc64: fix oprofile sample bit handling

Oprofile was hardwiring the MMCRA sample bit to 1 but on newer cpus
(eg POWER5) we want to vary it based on the group being sampled.

Add a temporary workaround until people update their oprofile userspace.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/oprofile/op_model_power4.c