Update of /cvsroot/linux-vax/kernel-2.5/include/asm-vax
In directory sc8-pr-cvs1:/tmp/cvs-serv24734/include/asm
Modified Files:
system.h
Log Message:
2.5.34 needs irqs_disabled()
Index: system.h
===================================================================
RCS file: /cvsroot/linux-vax/kernel-2.5/include/asm-vax/system.h,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- system.h 14 Feb 2003 00:55:37 -0000 1.8
+++ system.h 14 Feb 2003 02:21:02 -0000 1.9
@@ -78,6 +78,8 @@
#define local_irq_save(flags) ((flags) = swpipl(31))
#define local_irq_restore(flags) setipl(flags)
#define local_irq_disable() setipl(31)
+
+#define irqs_disabled() (__psl.ipl == 31)
/* If we're handling an interrupt (i.e. the IS bit is set in the
PSL and we're on the interrupt stack), then we must not enable
|