-
- Downloads
[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>
Showing
- arch/alpha/oprofile/common.c 1 addition, 1 deletionarch/alpha/oprofile/common.c
- arch/i386/oprofile/nmi_int.c 2 additions, 2 deletionsarch/i386/oprofile/nmi_int.c
- arch/mips/oprofile/common.c 1 addition, 1 deletionarch/mips/oprofile/common.c
- arch/powerpc/oprofile/common.c 1 addition, 1 deletionarch/powerpc/oprofile/common.c
- arch/sh/oprofile/op_model_sh7750.c 1 addition, 1 deletionarch/sh/oprofile/op_model_sh7750.c
Loading
Please register or sign in to comment