cpufreq / intel_pstate: remove #ifdef MODULE compile fence
authorDirk Brandewie <dirk.j.brandewie@intel.com>
Tue, 7 May 2013 15:20:30 +0000 (08:20 -0700)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sun, 12 May 2013 12:04:17 +0000 (14:04 +0200)
The driver can no longer be built as a module remove the compile fence
around cpufreq tracing call.

Signed-off-by: Dirk Brandewie <dirk.j.brandewie@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/intel_pstate.c

index b93e3851b5d33405baf2e842dc2143c91a2b1883..0cc7d60525acf0983320c80a82b8af8135a20a57 100644 (file)
@@ -391,9 +391,8 @@ static void intel_pstate_set_pstate(struct cpudata *cpu, int pstate)
        if (pstate == cpu->pstate.current_pstate)
                return;
 
-#ifndef MODULE
        trace_cpu_frequency(pstate * 100000, cpu->cpu);
-#endif
+
        cpu->pstate.current_pstate = pstate;
        wrmsrl(MSR_IA32_PERF_CTL, pstate << 8);