summaryrefslogtreecommitdiffstats
path: root/sys/dev/pci/drm/include
diff options
context:
space:
mode:
authorjsg <jsg@openbsd.org>2020-12-07 09:10:42 +0000
committerjsg <jsg@openbsd.org>2020-12-07 09:10:42 +0000
commit0f2d21930817178997a84966323a9452291d4d31 (patch)
tree8bf242e5a04c7ccc64d2c8a011a7795670e7bf15 /sys/dev/pci/drm/include
parentsynproxy should be processing incoming SYN packets only. (diff)
downloadwireguard-openbsd-0f2d21930817178997a84966323a9452291d4d31.tar.xz
wireguard-openbsd-0f2d21930817178997a84966323a9452291d4d31.zip
remove unused (and wrong) page_address() macro
this is supposed to return a va for a page not pa
Diffstat (limited to 'sys/dev/pci/drm/include')
-rw-r--r--sys/dev/pci/drm/include/linux/mm.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/dev/pci/drm/include/linux/mm.h b/sys/dev/pci/drm/include/linux/mm.h
index fbf230c309d..f7d84207793 100644
--- a/sys/dev/pci/drm/include/linux/mm.h
+++ b/sys/dev/pci/drm/include/linux/mm.h
@@ -17,7 +17,6 @@
#define PageHighMem(x) 0
-#define page_address(x) VM_PAGE_TO_PHYS(x)
#define page_to_phys(page) (VM_PAGE_TO_PHYS(page))
#define page_to_pfn(pp) (VM_PAGE_TO_PHYS(pp) / PAGE_SIZE)
#define pfn_to_page(pfn) (PHYS_TO_VM_PAGE(ptoa(pfn)))