s390/irq: rework irq subclass handling
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Wed, 4 Sep 2013 11:35:45 +0000 (13:35 +0200)
committerHeiko Carstens <heiko.carstens@de.ibm.com>
Wed, 4 Sep 2013 15:19:13 +0000 (17:19 +0200)
commit82003c3e606905ca20c78a0ceca9f412e6f71474
tree846dc04eec40aaa7e25915cb8131ed52da97e334
parent50ce749d0d107aaed8c2d702b987529f978a40f7
s390/irq: rework irq subclass handling

Let's not add a function for every external interrupt subclass for
which we need reference counting. Just have two register/unregister
functions which have a subclass parameter:

void irq_subclass_register(enum irq_subclass subclass);
void irq_subclass_unregister(enum irq_subclass subclass);

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
arch/s390/include/asm/irq.h
arch/s390/kernel/irq.c
arch/s390/kernel/perf_cpum_cf.c
arch/s390/kernel/runtime_instr.c
arch/s390/mm/fault.c
arch/s390/oprofile/hwsampler.c
drivers/s390/block/dasd_diag.c
drivers/s390/char/sclp.c
drivers/s390/kvm/kvm_virtio.c