Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/uvm Remove a redundant #ifdef _KERNEL/#endif pair.



details:   https://anonhg.NetBSD.org/src/rev/462b8e3b3061
branches:  trunk
changeset: 350043:462b8e3b3061
user:      cherry <cherry%NetBSD.org@localhost>
date:      Mon Jan 02 20:22:20 2017 +0000

description:
Remove a redundant #ifdef _KERNEL/#endif pair.

ok mrg@

diffstat:

 sys/uvm/uvm_extern.h |  4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diffs (22 lines):

diff -r 4b03d5efee76 -r 462b8e3b3061 sys/uvm/uvm_extern.h
--- a/sys/uvm/uvm_extern.h      Mon Jan 02 20:17:15 2017 +0000
+++ b/sys/uvm/uvm_extern.h      Mon Jan 02 20:22:20 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: uvm_extern.h,v 1.201 2016/12/24 19:21:29 cherry Exp $  */
+/*     $NetBSD: uvm_extern.h,v 1.202 2017/01/02 20:22:20 cherry Exp $  */
 
 /*
  * Copyright (c) 1997 Charles D. Cranor and Washington University.
@@ -644,12 +644,10 @@
 struct vm_map          *uvm_km_suballoc(struct vm_map *, vaddr_t *,
                            vaddr_t *, vsize_t, int, bool,
                            struct vm_map *);
-#ifdef _KERNEL
 int                    uvm_km_kmem_alloc(vmem_t *, vmem_size_t, vm_flag_t,
                            vmem_addr_t *);
 void                   uvm_km_kmem_free(vmem_t *, vmem_addr_t, vmem_size_t);
 bool                   uvm_km_va_starved_p(void);
-#endif
 
 /* uvm_map.c */
 int                    uvm_map(struct vm_map *, vaddr_t *, vsize_t,



Home | Main Index | Thread Index | Old Index