Skip to content

Commit

Permalink
MIPS: Octeon: Make interrupt controller work with threaded handlers.
Browse files Browse the repository at this point in the history
For CIUv1 controllers, we were relying on all calls to the irq_chip
functions to be done from the CPU that received the irq, and that they
would all be done from interrupt contest.  These assumptions do not
hold for threaded handlers.

We make all the masking actually mask the irq source, and use real
raw_spin_locks instead of manually twiddling the Status[IE] bit.

Signed-off-by: David Daney <david.daney@cavium.com>
  • Loading branch information
David Daney committed Aug 31, 2012
1 parent 88fd858 commit 1a7e68f
Showing 1 changed file with 137 additions and 143 deletions.
Loading

0 comments on commit 1a7e68f

Please sign in to comment.