solaris compat: remove KM_ZERO
- there is no such flag in Solaris and derivatives - the flag was added in an unrelated change - the flag is not used The proper way to allocate zeroed out memory is to use kmem_zalloc. MFC after: 3 days
This commit is contained in:
parent
5b23b1b9e7
commit
5583e07188
@ -45,7 +45,6 @@ MALLOC_DECLARE(M_SOLARIS);
|
||||
#define KM_SLEEP M_WAITOK
|
||||
#define KM_PUSHPAGE M_WAITOK
|
||||
#define KM_NOSLEEP M_NOWAIT
|
||||
#define KM_ZERO M_ZERO
|
||||
#define KM_NODEBUG M_NODUMP
|
||||
#define KMC_NODEBUG UMA_ZONE_NODUMP
|
||||
#define KMC_NOTOUCH 0
|
||||
|
Loading…
x
Reference in New Issue
Block a user