summaryrefslogtreecommitdiffstats
path: root/sys/vm/vm_kern.c
diff options
context:
space:
mode:
authoreivind <eivind@FreeBSD.org>2002-03-10 21:52:48 +0000
committereivind <eivind@FreeBSD.org>2002-03-10 21:52:48 +0000
commit0799ec54b17250c98026f90199f5baedd6b2f059 (patch)
tree04ac1a4dc72dcc8cc27d9fc6a8db45c2ac58d464 /sys/vm/vm_kern.c
parent50558d3ff6041cd51346a332bab715d69e7a1f97 (diff)
downloadFreeBSD-src-0799ec54b17250c98026f90199f5baedd6b2f059.zip
FreeBSD-src-0799ec54b17250c98026f90199f5baedd6b2f059.tar.gz
- Remove a number of extra newlines that do not belong here according to
style(9) - Minor space adjustment in cases where we have "( ", " )", if(), return(), while(), for(), etc. - Add /* SYMBOL */ after a few #endifs. Reviewed by: alc
Diffstat (limited to 'sys/vm/vm_kern.c')
-rw-r--r--sys/vm/vm_kern.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/sys/vm/vm_kern.c b/sys/vm/vm_kern.c
index 5a0dfda..0daf0ad 100644
--- a/sys/vm/vm_kern.c
+++ b/sys/vm/vm_kern.c
@@ -97,7 +97,6 @@ vm_map_t buffer_map=0;
* Allocate pageable memory to the kernel's address map.
* "map" must be kernel_map or a submap of kernel_map.
*/
-
vm_offset_t
kmem_alloc_pageable(map, size)
vm_map_t map;
@@ -123,7 +122,6 @@ kmem_alloc_pageable(map, size)
*
* Same as kmem_alloc_pageable, except that it create a nofault entry.
*/
-
vm_offset_t
kmem_alloc_nofault(map, size)
vm_map_t map;
@@ -199,7 +197,6 @@ kmem_alloc(map, size)
* We're intentionally not activating the pages we allocate to prevent a
* race with page-out. vm_map_pageable will wire the pages.
*/
-
for (i = 0; i < size; i += PAGE_SIZE) {
vm_page_t mem;
@@ -215,7 +212,6 @@ kmem_alloc(map, size)
/*
* And finally, mark the data as non-pageable.
*/
-
(void) vm_map_pageable(map, (vm_offset_t) addr, addr + size, FALSE);
return (addr);
@@ -443,7 +439,6 @@ bad:
*
* This routine may block.
*/
-
vm_offset_t
kmem_alloc_wait(map, size)
vm_map_t map;
@@ -504,7 +499,6 @@ kmem_free_wakeup(map, addr, size)
* new map will thus map the range between VM_MIN_KERNEL_ADDRESS and
* `start' as allocated, and the range between `start' and `end' as free.
*/
-
void
kmem_init(start, end)
vm_offset_t start, end;
OpenPOWER on IntegriCloud