projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Blackfin: Remove
[oweals/u-boot.git]
/
arch
/
sparc
/
include
/
asm
/
irq.h
diff --git
a/arch/sparc/include/asm/irq.h
b/arch/sparc/include/asm/irq.h
index bbe0204387258c516067d8d6f6b7b0816389ffea..5d0f7564e9b8e8656b7b9c2ebb07ee89e28a1a9d 100644
(file)
--- a/
arch/sparc/include/asm/irq.h
+++ b/
arch/sparc/include/asm/irq.h
@@
-12,7
+12,7
@@
#include <asm/psr.h>
/* Set SPARC Processor Interrupt Level */
#include <asm/psr.h>
/* Set SPARC Processor Interrupt Level */
-
extern
inline void set_pil(unsigned int level)
+
static
inline void set_pil(unsigned int level)
{
unsigned int psr = get_psr();
{
unsigned int psr = get_psr();
@@
-20,7
+20,7
@@
extern inline void set_pil(unsigned int level)
}
/* Get SPARC Processor Interrupt Level */
}
/* Get SPARC Processor Interrupt Level */
-
extern
inline unsigned int get_pil(void)
+
static
inline unsigned int get_pil(void)
{
unsigned int psr = get_psr();
return (psr & PSR_PIL) >> PSR_PIL_OFS;
{
unsigned int psr = get_psr();
return (psr & PSR_PIL) >> PSR_PIL_OFS;
@@
-32,4
+32,7
@@
extern int intLock(void);
/* Sets the PIL to oldLevel */
extern void intUnlock(int oldLevel);
/* 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
#endif