genirq/irqdomain: Add map counter
authorThomas Gleixner <tglx@linutronix.de>
Mon, 19 Jun 2017 23:37:16 +0000 (01:37 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 22 Jun 2017 16:21:12 +0000 (18:21 +0200)
commit9dc6be3d419398eae9a19cd09b7969ceff8eaf10
tree3e5ededbce858a2b186459b7a911f2cf2d4a53e8
parentae904cafd59d7120ef2afb97b252eadeba45e95f
genirq/irqdomain: Add map counter

Add a map counter instead of counting radix tree entries for
diagnosis. That also gives correct information for linear domains.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Cc: Jens Axboe <axboe@kernel.dk>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: Keith Busch <keith.busch@intel.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Christoph Hellwig <hch@lst.de>
Link: http://lkml.kernel.org/r/20170619235444.459397746@linutronix.de
include/linux/irqdomain.h
kernel/irq/irqdomain.c