~ubuntu-branches/ubuntu/precise/linux-ti-omap4/precise

« back to all changes in this revision

Viewing changes to drivers/acpi/processor_perflib.c

  • Committer: Bazaar Package Importer
  • Author(s): Paolo Pisati
  • Date: 2011-06-29 15:23:51 UTC
  • mfrom: (26.1.1 natty-proposed)
  • Revision ID: james.westby@ubuntu.com-20110629152351-xs96tm303d95rpbk
Tags: 3.0.0-1200.2
* Rebased against 3.0.0-6.7
* BSP from TI based on 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
49
49
 
50
50
static DEFINE_MUTEX(performance_mutex);
51
51
 
52
 
/* Use cpufreq debug layer for _PPC changes. */
53
 
#define cpufreq_printk(msg...) cpufreq_debug_printk(CPUFREQ_DEBUG_CORE, \
54
 
                                                "cpufreq-core", msg)
55
 
 
56
52
/*
57
53
 * _PPC support is implemented as a CPUfreq policy notifier:
58
54
 * This means each time a CPUfreq driver registered also with
145
141
                return -ENODEV;
146
142
        }
147
143
 
148
 
        cpufreq_printk("CPU %d: _PPC is %d - frequency %s limited\n", pr->id,
 
144
        pr_debug("CPU %d: _PPC is %d - frequency %s limited\n", pr->id,
149
145
                       (int)ppc, ppc ? "" : "not");
150
146
 
151
147
        pr->performance_platform_limit = (int)ppc;