Date: Thu, 14 Mar 2013 19:50:09 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r248277 - head/sys/vm Message-ID: <201303141950.r2EJo9H1094972@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kib Date: Thu Mar 14 19:50:09 2013 New Revision: 248277 URL: http://svnweb.freebsd.org/changeset/base/248277 Log: Remove excessive and inconsistent initializers for the various kernel maps and submaps. MFC after: 2 weeks Modified: head/sys/vm/vm_kern.c Modified: head/sys/vm/vm_kern.c ============================================================================== --- head/sys/vm/vm_kern.c Thu Mar 14 19:48:25 2013 (r248276) +++ head/sys/vm/vm_kern.c Thu Mar 14 19:50:09 2013 (r248277) @@ -85,11 +85,11 @@ __FBSDID("$FreeBSD$"); #include <vm/vm_extern.h> #include <vm/uma.h> -vm_map_t kernel_map=0; -vm_map_t kmem_map=0; -vm_map_t exec_map=0; +vm_map_t kernel_map; +vm_map_t kmem_map; +vm_map_t exec_map; vm_map_t pipe_map; -vm_map_t buffer_map=0; +vm_map_t buffer_map; const void *zero_region; CTASSERT((ZERO_REGION_SIZE & PAGE_MASK) == 0);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201303141950.r2EJo9H1094972>