aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/x86/kernel/cpu/cpufreq/e_powersaver.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/arch/x86/kernel/cpu/cpufreq/e_powersaver.c b/arch/x86/kernel/cpu/cpufreq/e_powersaver.c
index 34a227ecb253..39f8cb18296c 100644
--- a/arch/x86/kernel/cpu/cpufreq/e_powersaver.c
+++ b/arch/x86/kernel/cpu/cpufreq/e_powersaver.c
@@ -165,7 +165,7 @@ static int eps_cpu_init(struct cpufreq_policy *policy)
165 return -ENODEV; 165 return -ENODEV;
166 166
167 /* Check brand */ 167 /* Check brand */
168 printk("eps: Detected VIA "); 168 printk(KERN_INFO "eps: Detected VIA ");
169 169
170 switch (c->x86_model) { 170 switch (c->x86_model) {
171 case 10: 171 case 10:
@@ -182,19 +182,19 @@ static int eps_cpu_init(struct cpufreq_policy *policy)
182 182
183 switch(brand) { 183 switch(brand) {
184 case EPS_BRAND_C7M: 184 case EPS_BRAND_C7M:
185 printk("C7-M\n"); 185 printk(KERN_CONT "C7-M\n");
186 break; 186 break;
187 case EPS_BRAND_C7: 187 case EPS_BRAND_C7:
188 printk("C7\n"); 188 printk(KERN_CONT "C7\n");
189 break; 189 break;
190 case EPS_BRAND_EDEN: 190 case EPS_BRAND_EDEN:
191 printk("Eden\n"); 191 printk(KERN_CONT "Eden\n");
192 break; 192 break;
193 case EPS_BRAND_C7D: 193 case EPS_BRAND_C7D:
194 printk(KERN_CONT "C7-D\n"); 194 printk(KERN_CONT "C7-D\n");
195 break; 195 break;
196 case EPS_BRAND_C3: 196 case EPS_BRAND_C3:
197 printk("C3\n"); 197 printk(KERN_CONT "C3\n");
198 return -ENODEV; 198 return -ENODEV;
199 break; 199 break;
200 } 200 }
@@ -206,7 +206,7 @@ static int eps_cpu_init(struct cpufreq_policy *policy)
206 /* Can be locked at 0 */ 206 /* Can be locked at 0 */
207 rdmsrl(MSR_IA32_MISC_ENABLE, val); 207 rdmsrl(MSR_IA32_MISC_ENABLE, val);
208 if (!(val & 1 << 16)) { 208 if (!(val & 1 << 16)) {
209 printk("eps: Can't enable Enhanced PowerSaver\n"); 209 printk(KERN_INFO "eps: Can't enable Enhanced PowerSaver\n");
210 return -ENODEV; 210 return -ENODEV;
211 } 211 }
212 } 212 }
@@ -214,19 +214,19 @@ static int eps_cpu_init(struct cpufreq_policy *policy)
214 /* Print voltage and multiplier */ 214 /* Print voltage and multiplier */
215 rdmsr(MSR_IA32_PERF_STATUS, lo, hi); 215 rdmsr(MSR_IA32_PERF_STATUS, lo, hi);
216 current_voltage = lo & 0xff; 216 current_voltage = lo & 0xff;
217 printk("eps: Current voltage = %dmV\n", current_voltage * 16 + 700); 217 printk(KERN_INFO "eps: Current voltage = %dmV\n", current_voltage * 16 + 700);
218 current_multiplier = (lo >> 8) & 0xff; 218 current_multiplier = (lo >> 8) & 0xff;
219 printk("eps: Current multiplier = %d\n", current_multiplier); 219 printk(KERN_INFO "eps: Current multiplier = %d\n", current_multiplier);
220 220
221 /* Print limits */ 221 /* Print limits */
222 max_voltage = hi & 0xff; 222 max_voltage = hi & 0xff;
223 printk("eps: Highest voltage = %dmV\n", max_voltage * 16 + 700); 223 printk(KERN_INFO "eps: Highest voltage = %dmV\n", max_voltage * 16 + 700);
224 max_multiplier = (hi >> 8) & 0xff; 224 max_multiplier = (hi >> 8) & 0xff;
225 printk("eps: Highest multiplier = %d\n", max_multiplier); 225 printk(KERN_INFO "eps: Highest multiplier = %d\n", max_multiplier);
226 min_voltage = (hi >> 16) & 0xff; 226 min_voltage = (hi >> 16) & 0xff;
227 printk("eps: Lowest voltage = %dmV\n", min_voltage * 16 + 700); 227 printk(KERN_INFO "eps: Lowest voltage = %dmV\n", min_voltage * 16 + 700);
228 min_multiplier = (hi >> 24) & 0xff; 228 min_multiplier = (hi >> 24) & 0xff;
229 printk("eps: Lowest multiplier = %d\n", min_multiplier); 229 printk(KERN_INFO "eps: Lowest multiplier = %d\n", min_multiplier);
230 230
231 /* Sanity checks */ 231 /* Sanity checks */
232 if (current_multiplier == 0 || max_multiplier == 0 232 if (current_multiplier == 0 || max_multiplier == 0