intr_disabled() tests removed
- we don't need to test this in kernel as we always have interrupts disabled - if interrupts are enabled in kernel, it is only at very carefully chosen places. There are no such places now.
This commit is contained in:
@@ -52,7 +52,6 @@
|
||||
varname = ENTERED;
|
||||
|
||||
#define NOREC_RETURN(varname, v) do { \
|
||||
vmassert(intr_disabled()); \
|
||||
vmassert(magictest == MAGICTEST); \
|
||||
vmassert(varname == ENTERED || varname == NOTENTERED); \
|
||||
varname = NOTENTERED; \
|
||||
|
||||
Reference in New Issue
Block a user