summaryrefslogtreecommitdiff
path: root/mm/thrash.c
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2007-05-17 09:11:34 (GMT)
committerRussell King <rmk+kernel@arm.linux.org.uk>2007-05-17 09:11:34 (GMT)
commit0f347bb9136f55ff575d55441a29e92c16e87fb0 (patch)
tree82dfc12a5178e33e26324bb3da621e40576e0879 /mm/thrash.c
parentf3270f6ef7d60251617f9d4c08f76ec01c647aa4 (diff)
downloadlinux-fsl-qoriq-0f347bb9136f55ff575d55441a29e92c16e87fb0.tar.xz
[ARM] gic: Fix gic cascade irq handling
No need for the cascade irq function to have a "fastcall" annotation. Fix the range checking for valid IRQ numbers - comparing the value returned by the GIC with NR_IRQS is meaningless since we translate the GIC irq number to a Linux IRQ number afterwards. Check the GIC returned IRQ number is within limits first, then add the IRQ offset, and only then compare with NR_IRQS. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'mm/thrash.c')
0 files changed, 0 insertions, 0 deletions