linux_old1/arch/powerpc/oprofile
Carl E. Love 46ed7a76ae powerpc/oprofile: Fix error in oprofile power7_marked_instr_event() function
The calculation for the left shift of the mask OPROFILE_PM_PMCSEL_MSK has an
error.  The calculation is should be to shift left by (max_cntrs - cntr) times
the width of the pmsel field width.  However, the #define OPROFILE_MAX_PMC_NUM
was used instead of OPROFILE_PMSEL_FIELD_WIDTH.  This patch fixes the
calculation.

Signed-off-by: Carl Love <cel@us.ibm.com>
Acked-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2013-01-29 10:18:14 +11:00
..
cell mm: use mm->exe_file instead of first VM_EXECUTABLE vma->vm_file 2012-10-09 16:22:18 +09:00
Makefile powerpc/Makefiles: Change to new flag variables 2010-10-13 16:19:22 +11:00
backtrace.c powerpc: Use is_32bit_task() helper to test 32-bit binary 2010-09-02 14:07:32 +10:00
common.c Disintegrate asm/system.h for PowerPC 2012-03-28 18:30:02 +01:00
op_model_7450.c Disintegrate asm/system.h for PowerPC 2012-03-28 18:30:02 +01:00
op_model_cell.c Disintegrate asm/system.h for PowerPC 2012-03-28 18:30:02 +01:00
op_model_fsl_emb.c Disintegrate asm/system.h for PowerPC 2012-03-28 18:30:02 +01:00
op_model_pa6t.c powerpc: Change u64/s64 to a long long integer type 2009-01-13 14:47:59 +11:00
op_model_power4.c powerpc/oprofile: Fix error in oprofile power7_marked_instr_event() function 2013-01-29 10:18:14 +11:00
op_model_rs64.c Disintegrate asm/system.h for PowerPC 2012-03-28 18:30:02 +01:00