[PATCH 12/17] kvm tools: irq: make irq__alloc_line generic

2014-02-04 Thread Will Deacon
All architectures are now doing the same thing for irq__alloc_line: 1. Initialise a global counter to some fixed offset 2. Return the current value of the counter and increment it This is better off in core code, with each architecture specifying the initial offset, which is specific to the

[PATCH 12/17] kvm tools: irq: make irq__alloc_line generic

2014-02-04 Thread Will Deacon
All architectures are now doing the same thing for irq__alloc_line: 1. Initialise a global counter to some fixed offset 2. Return the current value of the counter and increment it This is better off in core code, with each architecture specifying the initial offset, which is specific to the