From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751070AbWGQSCg (ORCPT ); Mon, 17 Jul 2006 14:02:36 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751107AbWGQSCg (ORCPT ); Mon, 17 Jul 2006 14:02:36 -0400 Received: from ug-out-1314.google.com ([66.249.92.171]:11363 "EHLO ug-out-1314.google.com") by vger.kernel.org with ESMTP id S1751070AbWGQSCf (ORCPT ); Mon, 17 Jul 2006 14:02:35 -0400 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=JVPJ1S+iqbDzrkTHztzpd29j7/iEWp9obx7inoTdFRyJn8Q8DGQjvzQ9kOWpgYisjouEV0mAqGRhjPIsndrt0tq658vQ4zBxtxP/TtANKUIJIq8H1eqxOPpQ6yWhnmMnb7Mniy1aZ074jkLn3zswnEjACsTO7TBp/cBVuh20tMI= Message-ID: Date: Mon, 17 Jul 2006 14:02:34 -0400 From: "Dmitry Torokhov" To: "Greg KH" Subject: Re: [patch 03/45] x86_64: Fix modular pc speaker Cc: linux-kernel@vger.kernel.org, stable@kernel.org, "Justin Forbes" , "Zwane Mwaikambo" , "Theodore Ts'o" , "Randy Dunlap" , "Dave Jones" , "Chuck Wolber" , "Chris Wedgwood" , torvalds@osdl.org, akpm@osdl.org, alan@lxorguk.ukuu.org.uk, "Andi Kleen" , "Chris Wright" In-Reply-To: <20060717162539.GD4829@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20060717160652.408007000@blue.kroah.org> <20060717162452.GA4829@kroah.com> <20060717162539.GD4829@kroah.com> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On 7/17/06, Greg KH wrote: > -stable review patch. If anyone has any objections, please let us know. > > ------------------ > It turned out that the following change is needed when the speaker is > compiled as a module. > > Signed-off-by: Andi Kleen > Signed-off-by: Linus Torvalds > Signed-off-by: Chris Wright > Signed-off-by: Greg Kroah-Hartman > --- > arch/x86_64/kernel/setup.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > --- linux-2.6.17.2.orig/arch/x86_64/kernel/setup.c > +++ linux-2.6.17.2/arch/x86_64/kernel/setup.c > @@ -1440,7 +1440,7 @@ struct seq_operations cpuinfo_op = { > .show = show_cpuinfo, > }; > > -#ifdef CONFIG_INPUT_PCSPKR > +#if defined(CONFIG_INPUT_PCSPKR) || defined(CONFIG_INPUT_PCSPKR_MODULE) > #include > static __init int add_pcspkr(void) > { Why have this #ifdefed at all? The device is there regardless of whether PCSPKR driver is selected and teoretically one could use an alternative driver to speak to the hardware or decide to add pcspkr driver later. -- Dmitry