m68knommu: limit interrupts supported by ColdFire intc-simr driver
authorGreg Ungerer <gerg@uclinux.org>
Mon, 7 Mar 2011 13:00:04 +0000 (23:00 +1000)
committerGreg Ungerer <gerg@uclinux.org>
Tue, 15 Mar 2011 11:01:55 +0000 (21:01 +1000)
commit745c061f98720e7be201dd2d2277e524ecf45d1c
tree0492d30e586b8c6e6a63ff22c39dd83f662699ac
parent6d0f33fa80ed530168161fd2f226a3e5cf27cf81
m68knommu: limit interrupts supported by ColdFire intc-simr driver

The intc-simr interrupt controller on some ColdFire CPUs has a set range of
interrupts its supports (64 through 128 or 192 depending on model). We
shouldn't be setting this handler for every possible interrupt from 0 to
255. Set more appropriate limits, and this means we can drop the interrupt
number check in the mask and unmask routines.

Signed-off-by: Greg Ungerer <gerg@uclinux.org>
arch/m68knommu/platform/coldfire/intc-simr.c