xtensa: fix build fail on undefined ack_bad_irq
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Thu, 26 Apr 2012 18:23:22 +0000 (14:23 -0400)
committerVarun Wadekar <vwadekar@nvidia.com>
Mon, 30 Apr 2012 12:32:35 +0000 (17:32 +0530)
commit6628726f58cefd3f3a746e03f15159bdab731487
treeebca5f740c99b8a830d8183de1db3796f048e60a
parentc9f3a1caae4dd701e68f14bf50bb8f430fa4eea8
xtensa: fix build fail on undefined ack_bad_irq

Commit e520c410854bab763be24e0fce7ba89dc252efee

    "xtensa: convert to asm-generic/hardirq.h"

converted over to using the asm-generic parts, but it also
added the sentinel

#define ack_bad_irq ack_bad_irq

which tells asm-generic to _not_ use the common ack_bad_irq.

Since e520c41 deleted the duplicated code from the arch specific
file, we _do_ want the asm-generic one in scope.  So delete
the trigger define above which hides it.  In doing so we'll
realize that we've got to delete the almost-duplicate prototype
as well to avoid "static declaration ... follows non-static".

Cc: Christoph Hellwig <hch@lst.de>
Cc: Chris Zankel <chris@zankel.net>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
arch/xtensa/include/asm/hardirq.h