android_kernel_xiaomi_sm8350/arch/mips/oprofile
Markus Armbruster 0c6856f702 [PATCH] oprofile: Fix unnecessary cleverness
nmi_create_files() in arch/i386/oprofile/nmi_int.c depends on
model->num_counters (number of performance counters) being less than 10.
While this is currently the case, it's too clever by half.

Other archs aren't quite as clever: they assume 100.  I suggest to
normalize them all to 1000.

Cc: Philippe Elie <phil.el@wanadoo.fr>
Cc: John Levon <levon@movementarian.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-06-26 09:58:17 -07:00
..
common.c [PATCH] oprofile: Fix unnecessary cleverness 2006-06-26 09:58:17 -07:00
Kconfig
Makefile [MIPS] SB1: Add oprofile support. 2006-02-07 13:30:22 +00:00
op_impl.h MIPS: Oprofile: Fixup the loose ends in the plumbing. 2006-01-10 13:39:07 +00:00
op_model_mipsxx.c [MIPS] Fix modpost warning: Rename op_model_xxx to op_model_xxx_ops. 2006-06-06 00:15:11 +01:00
op_model_rm9000.c [MIPS] Fix modpost warning: Rename op_model_xxx to op_model_xxx_ops. 2006-06-06 00:15:11 +01:00