projects
/
dragonfly.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
de9b001
)
x86_64/pmap: Remove an unused function.
author
Sascha Wildner <saw@online.de>
Mon, 28 Nov 2011 19:06:02 +0000 (20:06 +0100)
committer
Sascha Wildner <saw@online.de>
Mon, 28 Nov 2011 19:07:30 +0000 (20:07 +0100)
sys/platform/pc64/x86_64/pmap.c
patch
|
blob
|
blame
|
history
diff --git
a/sys/platform/pc64/x86_64/pmap.c
b/sys/platform/pc64/x86_64/pmap.c
index
1369739
..
83f73b3
100644
(file)
--- a/
sys/platform/pc64/x86_64/pmap.c
+++ b/
sys/platform/pc64/x86_64/pmap.c
@@
-965,24
+965,6
@@
pmap_init2(void)
* Low level helper routines.....
***************************************************/
-#if defined(PMAP_DIAGNOSTIC)
-
-/*
- * This code checks for non-writeable/modified pages.
- * This should be an invalid condition.
- */
-static
-int
-pmap_nw_modified(pt_entry_t pte)
-{
- if ((pte & (PG_M|PG_RW)) == PG_M)
- return 1;
- else
- return 0;
-}
-#endif
-
-
/*
* this routine defines the region(s) of memory that should
* not be tested for the modified bit.