aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/oprofile/op_model_ppro.c
diff options
context:
space:
mode:
authorRobert Richter <robert.richter@amd.com>2009-07-07 13:25:39 -0400
committerRobert Richter <robert.richter@amd.com>2009-07-14 10:44:51 -0400
commit6e63ea4b0b14ff5fb8a3ca704fcda7d28b95f079 (patch)
tree7cab2df807793495239c4264ee742628b904e01d /arch/x86/oprofile/op_model_ppro.c
parent44ab9a6b0e909145d42615493952fe986b1ce5c2 (diff)
x86/oprofile: Whitespaces changes only
This patch fixes whitespace changes of code that will be touched in follow-on patches. Signed-off-by: Robert Richter <robert.richter@amd.com>
Diffstat (limited to 'arch/x86/oprofile/op_model_ppro.c')
-rw-r--r--arch/x86/oprofile/op_model_ppro.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/x86/oprofile/op_model_ppro.c b/arch/x86/oprofile/op_model_ppro.c
index cd72d5c73b49..570d717c3308 100644
--- a/arch/x86/oprofile/op_model_ppro.c
+++ b/arch/x86/oprofile/op_model_ppro.c
@@ -81,7 +81,7 @@ static void ppro_setup_ctrs(struct op_x86_model_spec const *model,
81 } 81 }
82 82
83 /* clear all counters */ 83 /* clear all counters */
84 for (i = 0 ; i < num_counters; ++i) { 84 for (i = 0; i < num_counters; ++i) {
85 if (unlikely(!msrs->controls[i].addr)) 85 if (unlikely(!msrs->controls[i].addr))
86 continue; 86 continue;
87 rdmsrl(msrs->controls[i].addr, val); 87 rdmsrl(msrs->controls[i].addr, val);
@@ -125,7 +125,7 @@ static int ppro_check_ctrs(struct pt_regs * const regs,
125 if (unlikely(!reset_value)) 125 if (unlikely(!reset_value))
126 goto out; 126 goto out;
127 127
128 for (i = 0 ; i < num_counters; ++i) { 128 for (i = 0; i < num_counters; ++i) {
129 if (!reset_value[i]) 129 if (!reset_value[i])
130 continue; 130 continue;
131 rdmsrl(msrs->counters[i].addr, val); 131 rdmsrl(msrs->counters[i].addr, val);
@@ -188,11 +188,11 @@ static void ppro_shutdown(struct op_msrs const * const msrs)
188{ 188{
189 int i; 189 int i;
190 190
191 for (i = 0 ; i < num_counters ; ++i) { 191 for (i = 0; i < num_counters; ++i) {
192 if (msrs->counters[i].addr) 192 if (msrs->counters[i].addr)
193 release_perfctr_nmi(MSR_P6_PERFCTR0 + i); 193 release_perfctr_nmi(MSR_P6_PERFCTR0 + i);
194 } 194 }
195 for (i = 0 ; i < num_counters ; ++i) { 195 for (i = 0; i < num_counters; ++i) {
196 if (msrs->controls[i].addr) 196 if (msrs->controls[i].addr)
197 release_evntsel_nmi(MSR_P6_EVNTSEL0 + i); 197 release_evntsel_nmi(MSR_P6_EVNTSEL0 + i);
198 } 198 }