OSDN Git Service

tile: fix panic with large IRQ number
authorChris Metcalf <cmetcalf@tilera.com>
Fri, 9 Aug 2013 19:41:09 +0000 (15:41 -0400)
committerChris Metcalf <cmetcalf@tilera.com>
Fri, 30 Aug 2013 15:56:16 +0000 (11:56 -0400)
commit8d8cf0674023da578e0539dc7cf4d824b2cf1f9e
tree2dd51ebbceaa602fcc9c90d0c45de929d5666804
parentd4d9eab4ade468b6a97b6853fdd72e8f21474324
tile: fix panic with large IRQ number

The "available_irqs" value needs to actually reflect the IRQs
available, not just start as an all-ones mask, since we only
have 32 IRQs available even on a 64-bit platform.

Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
arch/tile/kernel/irq.c