Loading arch/x86/kernel/cpu/cpufreq/longrun.c +14 −11 Original line number Diff line number Diff line Loading @@ -11,12 +11,13 @@ #include <linux/init.h> #include <linux/slab.h> #include <linux/cpufreq.h> #include <linux/timex.h> #include <asm/msr.h> #include <asm/processor.h> #include <asm/timex.h> #define dprintk(msg...) cpufreq_debug_printk(CPUFREQ_DEBUG_DRIVER, "longrun", msg) #define dprintk(msg...) cpufreq_debug_printk(CPUFREQ_DEBUG_DRIVER, \ "longrun", msg) static struct cpufreq_driver longrun_driver; Loading Loading @@ -152,7 +153,7 @@ static unsigned int longrun_get(unsigned int cpu) cpuid(0x80860007, &eax, &ebx, &ecx, &edx); dprintk("cpuid eax is %u\n", eax); return (eax * 1000); return eax * 1000; } /** Loading Loading @@ -196,7 +197,8 @@ static unsigned int __init longrun_determine_freqs(unsigned int *low_freq, rdmsr(MSR_TMTA_LRTI_VOLT_MHZ, msr_lo, msr_hi); *high_freq = msr_lo * 1000; /* to kHz */ dprintk("longrun table interface told %u - %u kHz\n", *low_freq, *high_freq); dprintk("longrun table interface told %u - %u kHz\n", *low_freq, *high_freq); if (*low_freq > *high_freq) *low_freq = *high_freq; Loading Loading @@ -318,7 +320,8 @@ static void __exit longrun_exit(void) MODULE_AUTHOR("Dominik Brodowski <linux@brodo.de>"); MODULE_DESCRIPTION ("LongRun driver for Transmeta Crusoe and Efficeon processors."); MODULE_DESCRIPTION("LongRun driver for Transmeta Crusoe and " "Efficeon processors."); MODULE_LICENSE("GPL"); module_init(longrun_init); Loading Loading
arch/x86/kernel/cpu/cpufreq/longrun.c +14 −11 Original line number Diff line number Diff line Loading @@ -11,12 +11,13 @@ #include <linux/init.h> #include <linux/slab.h> #include <linux/cpufreq.h> #include <linux/timex.h> #include <asm/msr.h> #include <asm/processor.h> #include <asm/timex.h> #define dprintk(msg...) cpufreq_debug_printk(CPUFREQ_DEBUG_DRIVER, "longrun", msg) #define dprintk(msg...) cpufreq_debug_printk(CPUFREQ_DEBUG_DRIVER, \ "longrun", msg) static struct cpufreq_driver longrun_driver; Loading Loading @@ -152,7 +153,7 @@ static unsigned int longrun_get(unsigned int cpu) cpuid(0x80860007, &eax, &ebx, &ecx, &edx); dprintk("cpuid eax is %u\n", eax); return (eax * 1000); return eax * 1000; } /** Loading Loading @@ -196,7 +197,8 @@ static unsigned int __init longrun_determine_freqs(unsigned int *low_freq, rdmsr(MSR_TMTA_LRTI_VOLT_MHZ, msr_lo, msr_hi); *high_freq = msr_lo * 1000; /* to kHz */ dprintk("longrun table interface told %u - %u kHz\n", *low_freq, *high_freq); dprintk("longrun table interface told %u - %u kHz\n", *low_freq, *high_freq); if (*low_freq > *high_freq) *low_freq = *high_freq; Loading Loading @@ -318,7 +320,8 @@ static void __exit longrun_exit(void) MODULE_AUTHOR("Dominik Brodowski <linux@brodo.de>"); MODULE_DESCRIPTION ("LongRun driver for Transmeta Crusoe and Efficeon processors."); MODULE_DESCRIPTION("LongRun driver for Transmeta Crusoe and " "Efficeon processors."); MODULE_LICENSE("GPL"); module_init(longrun_init); Loading