nuke no longer used vm macros
This commit is contained in:
parent
5e1193986e
commit
0322f263f2
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: rump.h,v 1.6 2007/08/11 17:52:12 pooka Exp $ */
|
||||
/* $NetBSD: rump.h,v 1.7 2007/08/13 15:59:47 pooka Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2007 Antti Kantee. All Rights Reserved.
|
||||
@ -76,20 +76,4 @@ void rumpvm_init(void);
|
||||
struct vm_page *rumpvm_makepage(struct uvm_object *, voff_t);
|
||||
void rumpvm_freepage(struct vm_page *);
|
||||
|
||||
#define RUMPVM_CLEANPAGE(page) \
|
||||
do { \
|
||||
struct uvm_object *uobj_rvm = (page)->uobject; \
|
||||
if (((page)->flags & PG_CLEAN) == 0) \
|
||||
uobj_rvm->uo_npages--; \
|
||||
(page)->flags |= PG_CLEAN; \
|
||||
} while (/*CONSTCOND*/0)
|
||||
|
||||
#define RUMPVM_SOILPAGE(page) \
|
||||
do { \
|
||||
struct uvm_object *uobj_rvm = (page)->uobject; \
|
||||
if (((page)->flags & PG_CLEAN) != 0) \
|
||||
uobj_rvm->uo_npages++; \
|
||||
(page)->flags &= ~PG_CLEAN; \
|
||||
} while (/*CONSTCOND*/0)
|
||||
|
||||
#endif /* _SYS_RUMP_H_ */
|
||||
|
Loading…
Reference in New Issue
Block a user