Clean up the cpp macro used to say "we're compiling this specific C file".
This commit is contained in:
parent
9057ed7600
commit
5303f3b378
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: uvm_map.c,v 1.203 2005/06/28 01:07:56 thorpej Exp $ */
|
||||
/* $NetBSD: uvm_map.c,v 1.204 2005/06/28 05:25:42 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1997 Charles D. Cranor and Washington University.
|
||||
@ -71,7 +71,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: uvm_map.c,v 1.203 2005/06/28 01:07:56 thorpej Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: uvm_map.c,v 1.204 2005/06/28 05:25:42 thorpej Exp $");
|
||||
|
||||
#include "opt_ddb.h"
|
||||
#include "opt_uvmhist.h"
|
||||
@ -92,7 +92,7 @@ __KERNEL_RCSID(0, "$NetBSD: uvm_map.c,v 1.203 2005/06/28 01:07:56 thorpej Exp $"
|
||||
#include <sys/shm.h>
|
||||
#endif
|
||||
|
||||
#define UVM_MAP
|
||||
#define UVM_MAP_C
|
||||
#include <uvm/uvm.h>
|
||||
#undef RB_AUGMENT
|
||||
#define RB_AUGMENT(x) uvm_rb_augment(x)
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: uvm_map_i.h,v 1.34 2005/05/29 21:06:33 christos Exp $ */
|
||||
/* $NetBSD: uvm_map_i.h,v 1.35 2005/06/28 05:25:42 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1997 Charles D. Cranor and Washington University.
|
||||
@ -74,7 +74,7 @@
|
||||
* inline functions [maybe]
|
||||
*/
|
||||
|
||||
#if defined(UVM_MAP_INLINE) || defined(UVM_MAP)
|
||||
#if defined(UVM_MAP_INLINE) || defined(UVM_MAP_C)
|
||||
|
||||
#ifndef _UVM_UVM_MAP_I_H_
|
||||
#define _UVM_UVM_MAP_I_H_
|
||||
@ -186,4 +186,4 @@ vm_map_to_kernel(struct vm_map *map)
|
||||
|
||||
#endif /* _UVM_UVM_MAP_I_H_ */
|
||||
|
||||
#endif /* defined(UVM_MAP_INLINE) || defined(UVM_MAP) */
|
||||
#endif /* defined(UVM_MAP_INLINE) || defined(UVM_MAP_C) */
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: uvm_page.c,v 1.105 2005/06/27 02:19:48 thorpej Exp $ */
|
||||
/* $NetBSD: uvm_page.c,v 1.106 2005/06/28 05:25:42 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1997 Charles D. Cranor and Washington University.
|
||||
@ -71,7 +71,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: uvm_page.c,v 1.105 2005/06/27 02:19:48 thorpej Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: uvm_page.c,v 1.106 2005/06/28 05:25:42 thorpej Exp $");
|
||||
|
||||
#include "opt_uvmhist.h"
|
||||
|
||||
@ -83,7 +83,7 @@ __KERNEL_RCSID(0, "$NetBSD: uvm_page.c,v 1.105 2005/06/27 02:19:48 thorpej Exp $
|
||||
#include <sys/vnode.h>
|
||||
#include <sys/proc.h>
|
||||
|
||||
#define UVM_PAGE /* pull in uvm_page.h functions */
|
||||
#define UVM_PAGE_C /* pull in uvm_page_i.h functions */
|
||||
#include <uvm/uvm.h>
|
||||
|
||||
/*
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: uvm_page_i.h,v 1.24 2005/06/28 04:00:07 thorpej Exp $ */
|
||||
/* $NetBSD: uvm_page_i.h,v 1.25 2005/06/28 05:25:42 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1997 Charles D. Cranor and Washington University.
|
||||
@ -74,7 +74,7 @@
|
||||
* inline functions [maybe]
|
||||
*/
|
||||
|
||||
#if defined(UVM_PAGE_INLINE) || defined(UVM_PAGE)
|
||||
#if defined(UVM_PAGE_INLINE) || defined(UVM_PAGE_C)
|
||||
|
||||
#ifndef _UVM_UVM_PAGE_I_H_
|
||||
#define _UVM_UVM_PAGE_I_H_
|
||||
@ -285,4 +285,4 @@ uvm_page_lookup_freelist(struct vm_page *pg)
|
||||
|
||||
#endif /* _UVM_UVM_PAGE_I_H_ */
|
||||
|
||||
#endif /* defined(UVM_PAGE_INLINE) || defined(UVM_PAGE) */
|
||||
#endif /* defined(UVM_PAGE_INLINE) || defined(UVM_PAGE_C) */
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: uvm_pager.c,v 1.67 2005/06/27 02:19:48 thorpej Exp $ */
|
||||
/* $NetBSD: uvm_pager.c,v 1.68 2005/06/28 05:25:42 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
*
|
||||
@ -39,7 +39,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: uvm_pager.c,v 1.67 2005/06/27 02:19:48 thorpej Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: uvm_pager.c,v 1.68 2005/06/28 05:25:42 thorpej Exp $");
|
||||
|
||||
#include "opt_uvmhist.h"
|
||||
|
||||
@ -50,7 +50,7 @@ __KERNEL_RCSID(0, "$NetBSD: uvm_pager.c,v 1.67 2005/06/27 02:19:48 thorpej Exp $
|
||||
#include <sys/pool.h>
|
||||
#include <sys/vnode.h>
|
||||
|
||||
#define UVM_PAGER
|
||||
#define UVM_PAGER_C
|
||||
#include <uvm/uvm.h>
|
||||
|
||||
struct pool *uvm_aiobuf_pool;
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: uvm_pager_i.h,v 1.13 2005/06/27 02:19:48 thorpej Exp $ */
|
||||
/* $NetBSD: uvm_pager_i.h,v 1.14 2005/06/28 05:25:42 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
*
|
||||
@ -42,7 +42,7 @@
|
||||
* inline functions [maybe]
|
||||
*/
|
||||
|
||||
#if defined(UVM_PAGER_INLINE) || defined(UVM_PAGER)
|
||||
#if defined(UVM_PAGER_INLINE) || defined(UVM_PAGER_C)
|
||||
|
||||
#ifndef _UVM_UVM_PAGER_I_H_
|
||||
#define _UVM_UVM_PAGER_I_H_
|
||||
@ -68,4 +68,4 @@ uvm_pageratop(vaddr_t kva)
|
||||
|
||||
#endif /* _UVM_UVM_PAGER_I_H_ */
|
||||
|
||||
#endif /* defined(UVM_PAGER_INLINE) || defined(UVM_PAGER) */
|
||||
#endif /* defined(UVM_PAGER_INLINE) || defined(UVM_PAGER_C) */
|
||||
|
Loading…
Reference in New Issue
Block a user