mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
[PARISC] Allow nested interrupts
Our prior mode of operation didn't allow nested interrupts because it makes the interrupt code much simpler. However, nested interrupts are better for latency. This code uses the EIEM register to simulate level interrupts and thus achieve nesting. Signed-off-by: James Bottomley <[email protected]> Signed-off-by: Kyle McMartin <[email protected]>
This commit is contained in:
parent
6e5dc42b5a
commit
7085689ed1
4 changed files with 93 additions and 64 deletions
|
|
@ -39,6 +39,8 @@ struct irq_chip;
|
|||
*/
|
||||
void no_ack_irq(unsigned int irq);
|
||||
void no_end_irq(unsigned int irq);
|
||||
void cpu_ack_irq(unsigned int irq);
|
||||
void cpu_end_irq(unsigned int irq);
|
||||
|
||||
extern int txn_alloc_irq(unsigned int nbits);
|
||||
extern int txn_claim_irq(int);
|
||||
|
|
|
|||
Loading…
Reference in a new issue