lkml.org 
[lkml]   [2010]   [Sep]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    DateThu, 30 Sep 2010 23:18:23 -0000
    FromThomas Gleixner <>
    Subject[patch 45/47] x86: lguest: Use new irq allocator
    Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
    ---
    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");
    }



    \
     
     \ /
      Last update: 2010-10-03 22:25    [from the cache]
    ©2003-2010