Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753752Ab3JYNuA (ORCPT ); Fri, 25 Oct 2013 09:50:00 -0400 Received: from mail-ob0-f182.google.com ([209.85.214.182]:59693 "EHLO mail-ob0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752905Ab3JYNt6 (ORCPT ); Fri, 25 Oct 2013 09:49:58 -0400 MIME-Version: 1.0 In-Reply-To: <1529148.xq0P7G6L83@vostro.rjw.lan> References: <525BD08C.2080101@t-online.de> <3005031.0yf0g1BPEE@vostro.rjw.lan> <1529148.xq0P7G6L83@vostro.rjw.lan> Date: Fri, 25 Oct 2013 19:19:57 +0530 Message-ID: Subject: Re: [BUG 3.12.rc4] Oops: unable to handle kernel paging request during shutdown From: Viresh Kumar To: "Rafael J. Wysocki" Cc: Linus Torvalds , Knut Petersen , Ingo Molnar , Thomas Gleixner , Paul McKenney , =?ISO-8859-1?Q?Fr=E9d=E9ric_Weisbecker?= , Greg Kroah-Hartman , Greg KH , linux-kernel , "cpufreq@vger.kernel.org" , Linux PM list Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1137 Lines: 34 On 25 October 2013 16:40, Rafael J. Wysocki wrote: > --- > drivers/cpufreq/acpi-cpufreq.c | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > > Index: linux-pm/drivers/cpufreq/acpi-cpufreq.c > =================================================================== > --- linux-pm.orig/drivers/cpufreq/acpi-cpufreq.c > +++ linux-pm/drivers/cpufreq/acpi-cpufreq.c > @@ -986,12 +986,12 @@ static int __init acpi_cpufreq_init(void > { > int ret; > > + if (acpi_disabled) > + return -ENODEV; > + > /* don't keep reloading if cpufreq_driver exists */ > if (cpufreq_get_current_driver()) > - return 0; > - > - if (acpi_disabled) > - return 0; > + return -EEXIST; > > pr_debug("acpi_cpufreq_init\n"); Even better, Acked-by: Viresh Kumar -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/