diff options
| author | Grant Likely <[email protected]> | 2012-02-15 22:06:08 +0000 |
|---|---|---|
| committer | Grant Likely <[email protected]> | 2012-04-12 06:37:48 +0000 |
| commit | 6fa6c8e25e95bdc73e92e4c96b8e3299169b616e (patch) | |
| tree | 34dc13fb2448eab4916f55edd10dfa34c36505df /lib/mpi/mpi-bit.c | |
| parent | irqdomain: Fix debugfs formatting (diff) | |
| download | kernel-6fa6c8e25e95bdc73e92e4c96b8e3299169b616e.tar.gz kernel-6fa6c8e25e95bdc73e92e4c96b8e3299169b616e.zip | |
irq_domain: Move irq_virq_count into NOMAP revmap
This patch replaces the old global setting of irq_virq_count that is only
used by the NOMAP mapping and instead uses a revmap_data property so that
the maximum NOMAP allocation can be set per NOMAP irq_domain.
There is exactly one user of irq_virq_count in-tree right now: PS3.
Also, irq_virq_count is only useful for the NOMAP mapping. So,
instead of having a single global irq_virq_count values, this change
drops it entirely and added a max_irq argument to irq_domain_add_nomap().
That makes it a property of an individual nomap irq domain instead of
a global system settting.
Signed-off-by: Grant Likely <[email protected]>
Tested-by: Benjamin Herrenschmidt <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Milton Miller <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions
