diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2006-06-20 06:26:58 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2006-06-20 06:26:58 +0000 |
commit | 46fe966ae026d95bd781e8524c596c87a60b1754 (patch) | |
tree | fbc00c582f47c7567ed1c7806df52055913c06fe /sys/arch | |
parent | a59f26cb5aa7eb539ce270af6dd6b8c88534be01 (diff) |
Define an empty pmap_collect().
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/mips64/include/pmap.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/sys/arch/mips64/include/pmap.h b/sys/arch/mips64/include/pmap.h index 4e57b1acf2c..9a2fc3f4e78 100644 --- a/sys/arch/mips64/include/pmap.h +++ b/sys/arch/mips64/include/pmap.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pmap.h,v 1.9 2006/05/29 21:50:08 deraadt Exp $ */ +/* $OpenBSD: pmap.h,v 1.10 2006/06/20 06:26:57 miod Exp $ */ /* * Copyright (c) 1987 Carnegie-Mellon University @@ -105,7 +105,7 @@ extern struct pmap kernel_pmap_store; #define PMAP_PREFER(pa, va) pmap_prefer(pa, va) -#define pmap_update(x) /* nothing */ +#define pmap_update(x) do { /* nothing */ } while (0) void pmap_bootstrap(void); int pmap_is_page_ro( pmap_t, vaddr_t, int); @@ -114,8 +114,9 @@ void pmap_prefer(vaddr_t, vaddr_t *); void pmap_set_modify(vm_page_t); void pmap_page_cache(vm_page_t, int); -#define pmap_proc_iflush(p,va,len) /* nothing yet (handled in trap now) */ -#define pmap_unuse_final(p) /* nothing yet */ +#define pmap_collect(x) do { /* nothing */ } while (0) +#define pmap_proc_iflush(p,va,len) do { /* nothing yet (handled in trap now) */ } while (0) +#define pmap_unuse_final(p) do { /* nothing yet */ } while (0) #endif /* _KERNEL */ |