diff options
author | avg <avg@FreeBSD.org> | 2013-02-02 11:41:05 +0000 |
---|---|---|
committer | avg <avg@FreeBSD.org> | 2013-02-02 11:41:05 +0000 |
commit | c89a88e9e3b88e3b8a7cd1e74205423c443b61da (patch) | |
tree | 95293ccc3ded1ddeb8324b281aa7f912a2a0e052 | |
parent | 8b53991fd3c21ba6011c078d7a1e36496f755948 (diff) | |
download | FreeBSD-src-c89a88e9e3b88e3b8a7cd1e74205423c443b61da.zip FreeBSD-src-c89a88e9e3b88e3b8a7cd1e74205423c443b61da.tar.gz |
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
-rw-r--r-- | sys/cddl/compat/opensolaris/sys/kmem.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/cddl/compat/opensolaris/sys/kmem.h b/sys/cddl/compat/opensolaris/sys/kmem.h index 428badf..ba8b42d 100644 --- a/sys/cddl/compat/opensolaris/sys/kmem.h +++ b/sys/cddl/compat/opensolaris/sys/kmem.h @@ -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 |