[Intel-gfx] [drm-intel:topic/drm-misc 2/2] drivers/gpu/drm/vgem/vgem_drv.c:238:53: error: 'PAGE_KERNEL_IO' undeclared

kbuild test robot fengguang.wu at intel.com
Tue Jul 12 11:23:55 UTC 2016


tree:   git://anongit.freedesktop.org/drm-intel topic/drm-misc
head:   e6f15b763ab2bc47000ec302123e2fb3bf2ad7d4
commit: e6f15b763ab2bc47000ec302123e2fb3bf2ad7d4 [2/2] drm/vgem: Enable dmabuf interface for export
config: sparc64-allmodconfig (attached as .config)
compiler: sparc64-linux-gnu-gcc (Debian 5.3.1-8) 5.3.1 20160205
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout e6f15b763ab2bc47000ec302123e2fb3bf2ad7d4
        # save the attached .config to linux build tree
        make.cross ARCH=sparc64 

All errors (new ones prefixed by >>):

   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));
                                                        ^
   drivers/gpu/drm/vgem/vgem_drv.c:238:53: note: each undeclared identifier is reported only once for each function it appears in

vim +/PAGE_KERNEL_IO +238 drivers/gpu/drm/vgem/vgem_drv.c

   232		void *addr;
   233	
   234		pages = drm_gem_get_pages(obj);
   235		if (IS_ERR(pages))
   236			return NULL;
   237	
 > 238		addr = vmap(pages, n_pages, 0, pgprot_writecombine(PAGE_KERNEL_IO));
   239		drm_gem_put_pages(obj, pages, false, false);
   240	
   241		return addr;

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/octet-stream
Size: 46354 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/intel-gfx/attachments/20160712/a5105b42/attachment-0001.obj>


More information about the Intel-gfx mailing list