commit | 2063ccf8ad09f604f53e16f7e2e5edfcce6ac96a | [log] [tgz] |
---|---|---|
author | Daniel Hellstrom <daniel@gaisler.com> | Fri Jan 22 11:57:49 2010 +0100 |
committer | Francois Retief <fgretief@spaceteq.co.za> | Thu Dec 03 13:15:48 2015 +0200 |
tree | 0bff8d2daee15a5d1219d0269d3570c379500af4 | |
parent | cb0c606f7081f9736dd0f2c002c64ffe44c3420d [diff] [blame] |
sparc: Added function that checks if IRQ is on or off Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
diff --git a/arch/sparc/include/asm/irq.h b/arch/sparc/include/asm/irq.h index 2faf7a0..5d0f756 100644 --- a/arch/sparc/include/asm/irq.h +++ b/arch/sparc/include/asm/irq.h
@@ -32,4 +32,7 @@ /* Sets the PIL to oldLevel */ extern void intUnlock(int oldLevel); +/* Return non-zero if interrupts are currently enabled */ +extern int interrupt_is_enabled(void); + #endif