lentferj's projects
/
dragonfly.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
ce2ac24
)
kernel - Fix LINT compilation on 32-bit
author
Matthew Dillon <dillon@apollo.backplane.com>
Sat, 29 Oct 2011 18:37:03 +0000 (11:37 -0700)
committer
Matthew Dillon <dillon@apollo.backplane.com>
Sat, 29 Oct 2011 18:37:03 +0000 (11:37 -0700)
* Fix conditional debug compilation that was breaking 32-bit LINT builds
Reported-by: swildner
sys/vm/vm_page.h
patch
|
blob
|
blame
|
history
diff --git
a/sys/vm/vm_page.h
b/sys/vm/vm_page.h
index
0ba7e75
..
c7e9c73
100644
(file)
--- a/
sys/vm/vm_page.h
+++ b/
sys/vm/vm_page.h
@@
-602,6
+602,7
@@
static __inline void
vm_page_free_zero(vm_page_t m)
{
#ifdef PMAP_DEBUG
+#ifdef PHYS_TO_DMAP
char *p = (char *)PHYS_TO_DMAP(VM_PAGE_TO_PHYS(m));
int i;
@@
-610,7
+611,7
@@
vm_page_free_zero(vm_page_t m)
panic("non-zero page in vm_page_free_zero()");
}
}
-
+#endif
#endif
vm_page_flag_set(m, PG_ZERO);
vm_page_free_toq(m);