lkml.org 
[lkml]   [2009]   [Feb]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[patch 48/56] ACPI: dont load acpi_cpufreq if acpi=off
    2.6.27-stable review patch.  If anyone has any objections, please let us know.
    ------------------

    From: Yinghai Lu <yhlu.kernel@gmail.com>

    commit ee297533279a802eac8b1cbea8e65b24b36a1aac upstream.

    Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
    Signed-off-by: Len Brown <len.brown@intel.com>
    Signed-off-by: Thomas Renninger <trenn@suse.de>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

    ---
    arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c | 3 +++
    1 file changed, 3 insertions(+)

    --- a/arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c
    +++ b/arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c
    @@ -779,6 +779,9 @@ static int __init acpi_cpufreq_init(void
    {
    int ret;

    + if (acpi_disabled)
    + return 0;
    +
    dprintk("acpi_cpufreq_init\n");

    ret = acpi_cpufreq_early_init();


    \
     
     \ /
      Last update: 2009-02-11 01:49    [W:0.048 / U:30.024 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site