s390/irq: Use defines for external interruption codes
Use the new defines for external interruption codes to get rid of "magic" numbers in the s390 source code. And while we're at it, also rename the (un-)register_external_interrupt function to something shorter so that this patch does not exceed the 80 columns all over the place. Signed-off-by: Thomas Huth <thuth@linux.vnet.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
This commit is contained in:

committed by
Martin Schwidefsky

parent
072c279029
commit
1dad093b66
@@ -477,7 +477,7 @@ static int __init kvm_devices_init(void)
|
||||
INIT_WORK(&hotplug_work, hotplug_devices);
|
||||
|
||||
irq_subclass_register(IRQ_SUBCLASS_SERVICE_SIGNAL);
|
||||
register_external_interrupt(0x2603, kvm_extint_handler);
|
||||
register_external_irq(EXT_IRQ_CP_SERVICE, kvm_extint_handler);
|
||||
|
||||
scan_devices();
|
||||
return 0;
|
||||
|
Reference in New Issue
Block a user