From: Markus Armbruster Date: Mon, 26 Jun 2006 07:24:34 +0000 (-0700) Subject: [PATCH] oprofile: Fix unnecessary cleverness X-Git-Tag: v2.6.18-rc1~825 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0c6856f702732d3cfc33eb59303e998ad6961de8;p=pandora-kernel.git [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 Cc: John Levon Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed