diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2020-12-07 09:10:43 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2020-12-07 09:10:43 +0000 |
commit | 202ad14ccca06372d1381dc3e3b81e832bcd32fe (patch) | |
tree | 3e860af96cd434b49dcfe22b0b7c2b34e5167f14 /sys | |
parent | eef7bfe021f4232957095fce2a6571fd9394e6c7 (diff) |
remove unused (and wrong) page_address() macro
this is supposed to return a va for a page not pa
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/pci/drm/include/linux/mm.h | 1 |
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))) |