summaryrefslogtreecommitdiffstats
path: root/sys/dev/vinum/vinumhdr.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/vinum/vinumhdr.h')
-rw-r--r--sys/dev/vinum/vinumhdr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/vinum/vinumhdr.h b/sys/dev/vinum/vinumhdr.h
index 8a5f70e..2b7d290 100644
--- a/sys/dev/vinum/vinumhdr.h
+++ b/sys/dev/vinum/vinumhdr.h
@@ -87,7 +87,7 @@ void FFree (void *mem, char *, int);
#define LOCKDRIVE(d) lockdrive (d, __FILE__, __LINE__)
#else
#define Malloc(x) malloc((x), M_DEVBUF, \
- PCPU_GET(intr_nesting_level) == 0? M_WAITOK: M_NOWAIT)
+ curproc->p_intr_nesting_level == 0? M_WAITOK: M_NOWAIT)
#define Free(x) free((x), M_DEVBUF)
#define LOCKDRIVE(d) lockdrive (d)
#endif
OpenPOWER on IntegriCloud