summaryrefslogtreecommitdiffstats
path: root/arch/ia64/include/asm
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2014-05-07 15:44:10 +0000
committerThomas Gleixner <tglx@linutronix.de>2014-05-16 14:05:19 +0200
commitaa5125a45568f8f666f6d2f224fe8ab261b1069e (patch)
tree4c3ffd6028e3611b8cb6bf7162861aab8dfb9394 /arch/ia64/include/asm
parentd07c9f18756e8231909a9bbcbfa7502c60cbc810 (diff)
downloadop-kernel-dev-aa5125a45568f8f666f6d2f224fe8ab261b1069e.zip
op-kernel-dev-aa5125a45568f8f666f6d2f224fe8ab261b1069e.tar.gz
iommu: smar: Fix return value check of create_irq()
ia64 returns a negative error code when allocation fails andx86 returns 0. Make it handle both. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Grant Likely <grant.likely@linaro.org> Cc: Tony Luck <tony.luck@intel.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Fenghua Yu <fenghua.yu@intel.com> Cc: x86@kernel.org Acked-by: Joerg Roedel <joro@8bytes.org> Cc: linux-ia64@vger.kernel.org Cc: iommu@lists.linux-foundation.org Link: http://lkml.kernel.org/r/20140507154336.178850165@linutronix.de Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/ia64/include/asm')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud