Go to the documentation of this file. 1 #ifndef __PARISC_IRQFLAGS_H
2 #define __PARISC_IRQFLAGS_H
4 #include <linux/types.h>
10 asm volatile(
"ssm 0, %0" :
"=r" (
flags) : :
"memory");
16 asm volatile(
"rsm %0,%%r0\n" : :
"i" (
PSW_I) :
"memory");
21 asm volatile(
"ssm %0,%%r0\n" : :
"i" (
PSW_I) :
"memory");
27 asm volatile(
"rsm %1,%0" :
"=r" (
flags) :
"i" (
PSW_I) :
"memory");
33 asm volatile(
"mtsm %0" : :
"r" (
flags) :
"memory");
38 return (flags &
PSW_I) == 0;