diff options
| author | Greg Lehey <grog@FreeBSD.org> | 2001-01-10 05:05:46 +0000 |
|---|---|---|
| committer | Greg Lehey <grog@FreeBSD.org> | 2001-01-10 05:05:46 +0000 |
| commit | 6694e200e58245021616e06ca7ff313232b16b86 (patch) | |
| tree | 3462b8cd1a36b7960ffe7b0f8b2336db13a8f120 /sys/dev/vinum | |
| parent | 8684adf5cd22d3506a7419cf83ef7c310fdac699 (diff) | |
Notes
Diffstat (limited to 'sys/dev/vinum')
| -rw-r--r-- | sys/dev/vinum/vinumhdr.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/vinum/vinumhdr.h b/sys/dev/vinum/vinumhdr.h index 8d53f0f8a9d6..ef2a81889feb 100644 --- a/sys/dev/vinum/vinumhdr.h +++ b/sys/dev/vinum/vinumhdr.h @@ -86,7 +86,7 @@ caddr_t MMalloc (int size, char *, int); 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) +#define Malloc(x) malloc((x), M_DEVBUF, intr_nesting_level == 0? M_WAITOK: M_NOWAIT) #define Free(x) free((x), M_DEVBUF) #define LOCKDRIVE(d) lockdrive (d) #endif |
