summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorRobert Nagy <robert@cvs.openbsd.org>2008-06-09 17:13:36 +0000
committerRobert Nagy <robert@cvs.openbsd.org>2008-06-09 17:13:36 +0000
commite93067f69d4aa71c7e4bfe93c75532a93e856422 (patch)
tree1eaa2dc717e8feae03eda6429c2b193c61e4fffc /sys/dev
parent474ffe1a566f1d4c1b4edee62378f82cf6231a9f (diff)
according to miod pmap_update() is not need after pmap_extract() at all,
so remove it.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/video.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/video.c b/sys/dev/video.c
index 3f5b930224a..019a75cebd8 100644
--- a/sys/dev/video.c
+++ b/sys/dev/video.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: video.c,v 1.8 2008/06/09 05:49:10 robert Exp $ */
+/* $OpenBSD: video.c,v 1.9 2008/06/09 17:13:35 robert Exp $ */
/*
* Copyright (c) 2008 Robert Nagy <robert@openbsd.org>
*
@@ -258,7 +258,6 @@ videommap(dev_t dev, off_t off, int prot)
return (-1);
if (pmap_extract(pmap_kernel(), (vaddr_t)p, &pa) == FALSE)
panic("videommap: invalid page");
- pmap_update(pmap_kernel());
#if defined(__powerpc__) || defined(__sparc64__)
return (pa);