summaryrefslogtreecommitdiff
path: root/sys/arch/i386
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2024-07-02 04:29:02 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2024-07-02 04:29:02 +0000
commit81154660ff920bee8fd15b46ade4c3f6d954ce0a (patch)
tree4033d508722451ab6f49adfa96030100a478b75c /sys/arch/i386
parente764ee99192f4fe81845ffda9f2f4d3d7e0e6be9 (diff)
remove unused agp_flush_cache_range()
Diffstat (limited to 'sys/arch/i386')
-rw-r--r--sys/arch/i386/pci/agp_machdep.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/sys/arch/i386/pci/agp_machdep.c b/sys/arch/i386/pci/agp_machdep.c
index ef5232d5b43..e48463e6be9 100644
--- a/sys/arch/i386/pci/agp_machdep.c
+++ b/sys/arch/i386/pci/agp_machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: agp_machdep.c,v 1.22 2024/07/02 04:10:25 jsg Exp $ */
+/* $OpenBSD: agp_machdep.c,v 1.23 2024/07/02 04:29:01 jsg Exp $ */
/*
* Copyright (c) 2008 - 2009 Owain G. Ainsworth <oga@openbsd.org>
@@ -44,19 +44,10 @@
#include <sys/param.h>
#include <sys/systm.h>
-#include <uvm/uvm_extern.h>
-
#include <machine/cpufunc.h>
-#include <machine/pmap.h>
void
agp_flush_cache(void)
{
wbinvd();
}
-
-void
-agp_flush_cache_range(vaddr_t va, vsize_t sz)
-{
- pmap_flush_cache(va, sz);
-}