commit | 0737402f42d3cdc7b7ef27e8cc7caf1e9ba2a2bc | [log] [tgz] |
---|---|---|
author | Johannes Berg <johannes.berg@intel.com> | Wed Dec 02 12:59:54 2020 +0100 |
committer | Richard Weinberger <richard@nod.at> | Sun Dec 13 22:22:23 2020 +0100 |
tree | 980d03d11fec208016c0b3745bf12e06f4efc75a | |
parent | 458e1f7da004ec264cf2a9252822955ba4f7e9a0 [diff] |
um: irq: Reduce irq_reg allocation We don't need an array of 4 entries to capture three and the name 'MAX_IRQ_TYPE' really gets confusing as well. Remove it and add a correct NUM_IRQ_TYPES, and use that correctly. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Acked-By: Anton Ivanov <anton.ivanov@cambridgegreys.com> Signed-off-by: Richard Weinberger <richard@nod.at>