aboutsummaryrefslogtreecommitdiff
path: root/kernel/mm/mobj.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/mm/mobj.c')
-rw-r--r--kernel/mm/mobj.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/kernel/mm/mobj.c b/kernel/mm/mobj.c
index 4b9c80f..02aced7 100644
--- a/kernel/mm/mobj.c
+++ b/kernel/mm/mobj.c
@@ -122,9 +122,6 @@ long mobj_get_pframe(mobj_t *o, uint64_t pagenum, long forwrite,
* Create and initialize a pframe and add it to the mobj's mo_pframes list.
* Upon successful return, the pframe's pf_mutex is locked.
*/
-#ifdef OLD
-static void mobj_create_pframe(mobj_t *o, uint64_t pagenum, pframe_t **pfp)
-#endif
void mobj_create_pframe(mobj_t *o, uint64_t pagenum, uint64_t loc, pframe_t **pfp)
{
KASSERT(kmutex_owns_mutex(&o->mo_mutex));