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:
Andriy Gapon 2013-02-02 11:41:05 +00:00
parent 5b23b1b9e7
commit 5583e07188
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=246244

View File

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