diff options
author | 2020-06-14 15:20:07 +0000 | |
---|---|---|
committer | 2020-06-14 15:20:07 +0000 | |
commit | 6942ea666adc373116fd12f898bb1d10146f4939 (patch) | |
tree | d720d1774f2b38bb487610ddddfb91eeb073cd84 /sys/dev/pci/drm/drm_linux.c | |
parent | convert kunmap() arguments with pointer to page struct (diff) | |
download | wireguard-openbsd-6942ea666adc373116fd12f898bb1d10146f4939.tar.xz wireguard-openbsd-6942ea666adc373116fd12f898bb1d10146f4939.zip |
rename our kunmap() to kunmap_va()
In linux kunmap() has a page struct * argument our kunmap() has a void *
argument which results in uncoverted uses building but doing the wrong
thing. Renaming will catch any codepaths that need to be changed at
compile time.
Diffstat (limited to 'sys/dev/pci/drm/drm_linux.c')
-rw-r--r-- | sys/dev/pci/drm/drm_linux.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/drm/drm_linux.c b/sys/dev/pci/drm/drm_linux.c index b68d2c98ef4..d46ef6a2503 100644 --- a/sys/dev/pci/drm/drm_linux.c +++ b/sys/dev/pci/drm/drm_linux.c @@ -1,4 +1,4 @@ -/* $OpenBSD: drm_linux.c,v 1.59 2020/06/08 04:47:58 jsg Exp $ */ +/* $OpenBSD: drm_linux.c,v 1.60 2020/06/14 15:20:07 jsg Exp $ */ /* * Copyright (c) 2013 Jonathan Gray <jsg@openbsd.org> * Copyright (c) 2015, 2016 Mark Kettenis <kettenis@openbsd.org> @@ -548,7 +548,7 @@ kmap(struct vm_page *pg) } void -kunmap(void *addr) +kunmap_va(void *addr) { vaddr_t va = (vaddr_t)addr; |