Skip to contentSkip to conversation

Is there an "interrups_on()" function

DISCUSSION george anzinger 1 participant 1 message Jun 28, 2002

lore
Share & tools
lore
#0 lore raw

I need an interrupts on test function that works for all platforms. Has this been done yet?

Alternatively, __save_flags() seems to exist for all platforms. Is the need "mask" to test for interrupts on defined for all platforms? Or will this even work? (One can imagine that some platforms use inverted interrupt enabled bits).

Signature · 6 lines
George Anzinger   [email protected]
High-res-timers: 
http://sourceforge.net/projects/high-res-timers/
Real time sched:  http://sourceforge.net/projects/rtsched/
Preemption patch:
http://www.kernel.org/pub/linux/kernel/people/rml