irqdomain: Warn when a mapping gets overriden

We've had plenty of occurences of irqdomain mappings being
overriden by broken drivers over the years, and it would
be good to detect these early, as chasing these is hell.

Add a WARN_ON() that will check whether we're about to
override such a mapping. This is pretty heavy handed, but
this is supposed to be a rare event.

Signed-off-by: Marc Zyngier <maz@kernel.org>
1 file changed