mirror of
https://github.com/torvalds/linux.git
synced 2024-12-17 16:43:08 +00:00
cf47a07ab8
Since PAGE_KERNEL_IO is specific to x86 and equivalent to PAGE_KERNEL
for our wrapping with pgprot_writecombine(), just use the common define.
drivers/gpu/drm/vgem/vgem_drv.c: In function 'vgem_prime_vmap':
>> drivers/gpu/drm/vgem/vgem_drv.c:238:53: error: 'PAGE_KERNEL_IO' undeclared (first use in this function)
addr = vmap(pages, n_pages, 0, pgprot_writecombine(PAGE_KERNEL_IO));
Reported-by: 0day
Fixes:
|
||
---|---|---|
.. | ||
Makefile | ||
vgem_drv.c | ||
vgem_drv.h |