m68knommu: move some init code out of unmask routine for ColdFire intc-2
authorGreg Ungerer <gerg@uclinux.org>
Mon, 7 Mar 2011 07:42:28 +0000 (17:42 +1000)
committerGreg Ungerer <gerg@uclinux.org>
Tue, 15 Mar 2011 11:01:55 +0000 (21:01 +1000)
commit6d0f33fa80ed530168161fd2f226a3e5cf27cf81
tree487daf5e2d049608ece6291bfd2dc594e0ef9e28
parent49bc6deace5a0a774678212097474b27b27e44fb
m68knommu: move some init code out of unmask routine for ColdFire intc-2

Use a proper irq_startup() routine to intialize the interrupt priority
and level register in the ColdFire intc-2 controller code. We shouldn't
be checking if the priority/level has been set on every unmask operation.

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