From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760086AbXGXPu0 (ORCPT ); Tue, 24 Jul 2007 11:50:26 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752390AbXGXPuO (ORCPT ); Tue, 24 Jul 2007 11:50:14 -0400 Received: from main.carme.maven.pl ([193.239.45.138]:35696 "EHLO main.carme.maven.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751123AbXGXPuM convert rfc822-to-8bit (ORCPT ); Tue, 24 Jul 2007 11:50:12 -0400 From: Arkadiusz Miskiewicz Organization: SelfOrganizing To: Len Brown Subject: Re: 2.6.23rc1 git: EIP is at acpi_processor_throttling_seq_show+0x8b/0xdd [processor] Date: Tue, 24 Jul 2007 17:50:03 +0200 User-Agent: PLD Linux KMail/1.9.7 Cc: linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org References: <200707231740.38263.arekm@maven.pl> <200707231226.35183.lenb@kernel.org> In-Reply-To: <200707231226.35183.lenb@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: 8BIT Content-Disposition: inline Message-Id: <200707241750.03588.arekm@maven.pl> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Monday 23 of July 2007, Len Brown wrote: > On Monday 23 July 2007 11:40, Arkadiusz Miskiewicz wrote: > > After booting fresh 2.6.23rc1 taken from git I noticed oops in dmesg: > > > > [ 46.274038] BUG: unable to handle kernel NULL pointer dereference at > > virtual address 00000000 [ 46.274042] printing eip: > > [ 46.274044] f8b5b2dc > > [ 46.274045] *pde = 00000000 > > [ 46.274048] Oops: 0000 [#1] [...] > > Please try the patch below -- seems that I somehow neglected to include it > in my rc1 batch. No oops with patch applied. Thanks! > > thanks, > -Len > > Subject: fix oops due to typo in new throttling code > From: Luming Yu > > > Signed-off-by: Luming Yu > Signed-off-by: Andrew Morton > Signed-off-by: Len Brown > > --- > > drivers/acpi/processor_throttling.c | 6 ++++-- > 1 files changed, 4 insertions(+), 2 deletions(-) > > Index: linus/drivers/acpi/processor_throttling.c > =================================================================== > --- linus.orig/drivers/acpi/processor_throttling.c > +++ linus/drivers/acpi/processor_throttling.c > @@ -658,18 +658,20 @@ static int acpi_processor_throttling_seq > pr->throttling.state_count - 1); > > seq_puts(seq, "states:\n"); > - if (acpi_processor_get_throttling == acpi_processor_get_throttling_fadt) > + if (pr->throttling.acpi_processor_get_throttling == > + acpi_processor_get_throttling_fadt) { > for (i = 0; i < pr->throttling.state_count; i++) > seq_printf(seq, " %cT%d: %02d%%\n", > (i == pr->throttling.state ? '*' : ' '), i, > (pr->throttling.states[i].performance ? pr-> > throttling.states[i].performance / 10 : 0)); > - else > + } else { > for (i = 0; i < pr->throttling.state_count; i++) > seq_printf(seq, " %cT%d: %02d%%\n", > (i == pr->throttling.state ? '*' : ' '), i, > (int)pr->throttling.states_tss[i]. > freqpercentage); > + } > > end: > return 0; -- Arkadiusz Mi¶kiewicz PLD/Linux Team arekm / maven.pl http://ftp.pld-linux.org/