OSDN Git Service

powerpc: Fix potential compile error irqs_disabled_flags
authorMichael Neuling <mikey@neuling.org>
Wed, 21 Oct 2009 20:15:43 +0000 (20:15 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 30 Oct 2009 06:21:27 +0000 (17:21 +1100)
commit0682d6c1044e8a54aafdc6282d44c0c436da208f
tree4bed430ab508601e31853200963f5d3221ed6991
parent0895ecda79428df48501e48dd0a868e0c8e1aae2
powerpc: Fix potential compile error irqs_disabled_flags

irqs_disabled_flags is #defined in linux/irqflags.h when
CONFIG_TRACE_IRQFLAGS_SUPPORT is enabled.  64 and 32 bit always have
CONFIG_TRACE_IRQFLAGS_SUPPORT enabled so just remove
irqs_disabled_flags.

This fixes the case when someone needs to include both linux/irqflags.h
and asm/hw_irq.h.

Signed-off-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/hw_irq.h