From 202ad14ccca06372d1381dc3e3b81e832bcd32fe Mon Sep 17 00:00:00 2001 From: Jonathan Gray Date: Mon, 7 Dec 2020 09:10:43 +0000 Subject: remove unused (and wrong) page_address() macro this is supposed to return a va for a page not pa --- sys/dev/pci/drm/include/linux/mm.h | 1 - 1 file changed, 1 deletion(-) (limited to 'sys/dev') 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))) -- cgit v1.2.3