commit | f4b9523ba6388f6f951933de3f9a76e2e9ea2ede | [log] [tgz] |
---|---|---|
author | Alexey Kardashevskiy <aik@ozlabs.ru> | Tue Aug 07 16:10:34 2012 +0000 |
committer | Alexander Graf <agraf@suse.de> | Wed Aug 15 19:43:16 2012 +0200 |
tree | aef6991b1560973392e43e63a59b306395e27793 | |
parent | fa28f71b4a88cdb796f1e0a308205c6be604d3f3 [diff] |
pseries: added allocator for a block of IRQs The patch adds a simple helper which allocates a consecutive sequence of IRQs calling spapr_allocate_irq for each and checks that allocated IRQs go consequently. The patch is required for upcoming support of MSI/MSIX on POWER. Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru> Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Alexander Graf <agraf@suse.de>