]> err.no Git - linux-2.6/commitdiff
lguest: fix ugly <NULL> in /proc/interrupts
authorRusty Russell <rusty@rustcorp.com.au>
Fri, 30 May 2008 20:09:42 +0000 (15:09 -0500)
committerRusty Russell <rusty@rustcorp.com.au>
Fri, 30 May 2008 05:09:43 +0000 (15:09 +1000)
Before:
root@ubuntu:~# cat /proc/interrupts
           CPU0
  1:       1672    lguest-<NULL>    virtio0
  2:          1    lguest-<NULL>    virtio1
  ...
After:
root@ubuntu:~# cat /proc/interrupts
           CPU0
  1:       2889    lguest-level     virtio0
  2:          9    lguest-level     virtio1

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
arch/x86/lguest/boot.c

index af65b2da3ba0dabd19d0e14fcfbb52577ff4c96c..5c7e2fd52075be167680311b13d5e7c9d120bbe4 100644 (file)
@@ -582,8 +582,9 @@ static void __init lguest_init_IRQ(void)
                int vector = FIRST_EXTERNAL_VECTOR + i;
                if (vector != SYSCALL_VECTOR) {
                        set_intr_gate(vector, interrupt[i]);
-                       set_irq_chip_and_handler(i, &lguest_irq_controller,
-                                                handle_level_irq);
+                       set_irq_chip_and_handler_name(i, &lguest_irq_controller,
+                                                     handle_level_irq,
+                                                     "level");
                }
        }
        /* This call is required to set up for 4k stacks, where we have