From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Gleixner Subject: [patch 45/47] x86: lguest: Use new irq allocator Date: Thu, 30 Sep 2010 23:18:23 -0000 Message-ID: <20100930221742.917282584@linutronix.de> References: <20100930221351.682772535@linutronix.de> Return-path: Content-Disposition: inline; filename=x86-lguest-use-new-allocator.patch Sender: linux-kernel-owner@vger.kernel.org To: LKML Cc: linux-arch@vger.kernel.org, Linus Torvalds , Andrew Morton , x86@kernel.org, Peter Zijlstra , Benjamin Herrenschmidt , Paul Mundt , Russell King , David Woodhouse , Jesse Barnes , Yinghai Lu , Grant Likely , "Eric W. Biederman" List-Id: linux-arch.vger.kernel.org Signed-off-by: Thomas Gleixner --- arch/x86/lguest/boot.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Index: linux-2.6-tip/arch/x86/lguest/boot.c =================================================================== --- linux-2.6-tip.orig/arch/x86/lguest/boot.c +++ linux-2.6-tip/arch/x86/lguest/boot.c @@ -835,12 +835,12 @@ static void __init lguest_init_IRQ(void) * rather than set them in lguest_init_IRQ we are called here every time an * lguest device needs an interrupt. * - * FIXME: irq_to_desc_alloc_node() can fail due to lack of memory, we should + * FIXME: irq_alloc_desc_at() can fail due to lack of memory, we should * pass that up! */ void lguest_setup_irq(unsigned int irq) { - irq_to_desc_alloc_node(irq, 0); + irq_alloc_desc_at(irq, 0); set_irq_chip_and_handler_name(irq, &lguest_irq_controller, handle_level_irq, "level"); } From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from www.tglx.de ([62.245.132.106]:43589 "EHLO www.tglx.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756968Ab0I3XSm (ORCPT ); Thu, 30 Sep 2010 19:18:42 -0400 Message-ID: <20100930221742.917282584@linutronix.de> Date: Thu, 30 Sep 2010 23:18:23 -0000 From: Thomas Gleixner Subject: [patch 45/47] x86: lguest: Use new irq allocator References: <20100930221351.682772535@linutronix.de> Content-Disposition: inline; filename=x86-lguest-use-new-allocator.patch Sender: linux-arch-owner@vger.kernel.org List-ID: To: LKML Cc: linux-arch@vger.kernel.org, Linus Torvalds , Andrew Morton , x86@kernel.org, Peter Zijlstra , Benjamin Herrenschmidt , Paul Mundt , Russell King , David Woodhouse , Jesse Barnes , Yinghai Lu , Grant Likely , "Eric W. Biederman" Message-ID: <20100930231823.IIMZLbdKLhuI3HjaT3VhMSN-5jQnfn0IFUM5N9h4j0A@z> Signed-off-by: Thomas Gleixner --- arch/x86/lguest/boot.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Index: linux-2.6-tip/arch/x86/lguest/boot.c =================================================================== --- linux-2.6-tip.orig/arch/x86/lguest/boot.c +++ linux-2.6-tip/arch/x86/lguest/boot.c @@ -835,12 +835,12 @@ static void __init lguest_init_IRQ(void) * rather than set them in lguest_init_IRQ we are called here every time an * lguest device needs an interrupt. * - * FIXME: irq_to_desc_alloc_node() can fail due to lack of memory, we should + * FIXME: irq_alloc_desc_at() can fail due to lack of memory, we should * pass that up! */ void lguest_setup_irq(unsigned int irq) { - irq_to_desc_alloc_node(irq, 0); + irq_alloc_desc_at(irq, 0); set_irq_chip_and_handler_name(irq, &lguest_irq_controller, handle_level_irq, "level"); }