From: Sascha Wildner Date: Mon, 28 Nov 2011 19:06:02 +0000 (+0100) Subject: x86_64/pmap: Remove an unused function. X-Git-Tag: v3.0.0~545 X-Git-Url: http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff_plain/e2c6411b42d25ec91ccb9c76a21d3c74e00567d3 x86_64/pmap: Remove an unused function. --- diff --git a/sys/platform/pc64/x86_64/pmap.c b/sys/platform/pc64/x86_64/pmap.c index 1369739..83f73b3 100644 --- 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.