irq: make SPARSE_IRQ an optionally hidden option
authorRob Herring <rob.herring@calxeda.com>
Thu, 26 Jan 2012 02:02:40 +0000 (20:02 -0600)
committerRob Herring <rob.herring@calxeda.com>
Thu, 26 Jan 2012 02:37:42 +0000 (20:37 -0600)
commit2ed86b16eabe4efbf80cc725a8cbb5310746a2fc
tree3cd096ab3472991435de367f181a3964d8549801
parentdcd6c92267155e70a94b3927bce681ce74b80d1f
irq: make SPARSE_IRQ an optionally hidden option

On ARM, we don't want SPARSE_IRQ to be a user visible option. Make
SPARSE_IRQ visible based on MAY_HAVE_SPARSE_IRQ instead of depending
on HAVE_SPARSE_IRQ.

With this, SPARSE_IRQ is not visible on C6X and ARM.

Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: Mark Salter <msalter@redhat.com>
Cc: Aurelien Jacquiot <a-jacquiot@ti.com>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Paul Mundt <lethal@linux-sh.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-kernel@vger.kernel.org
Cc: linux-c6x-dev@linux-c6x.org
Cc: linuxppc-dev@lists.ozlabs.org
Cc: linux-sh@vger.kernel.org
arch/arm/Kconfig
arch/c6x/Kconfig
arch/powerpc/Kconfig
arch/sh/Kconfig
arch/x86/Kconfig
kernel/irq/Kconfig