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:
Tomas Hruby
2010-02-09 15:29:58 +00:00
parent c6fec6866f
commit c9da61022b
6 changed files with 0 additions and 21 deletions

View File

@@ -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; \