x86/oprofile: Fix usage of NUM_CONTROLS/NUM_COUNTERS macros
commit5e766e3e433fa2d5d2fdfd8e2432804c91393387
authorRobert Richter <robert.richter@amd.com>
Wed, 8 Jul 2009 12:54:17 +0000 (8 14:54 +0200)
committerRobert Richter <robert.richter@amd.com>
Mon, 20 Jul 2009 14:43:18 +0000 (20 16:43 +0200)
tree8b78cc516709a00ef28b67063e525c14de027eda
parent4d4036e0e7299c6cbb2d2421b4b30b7a409ce61a
x86/oprofile: Fix usage of NUM_CONTROLS/NUM_COUNTERS macros

Use the corresponding macros when iterating over counter and control
registers. Since NUM_CONTROLS and NUM_COUNTERS are equal for AMD cpus
the fix is more a cosmetical change.

Signed-off-by: Robert Richter <robert.richter@amd.com>
arch/x86/oprofile/op_model_amd.c