[Q] comedi: vmap of the async->prealloc_buf

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello all,

I have a question...

In the comedi core, the asynchronous 'prealloc_buf' is vmap'ed after
the page list has been allocated. The code in question looks like this:

			async->prealloc_buf =
#ifdef PAGE_KERNEL_NOCACHE
				vmap(pages, n_pages, VM_MAP, PAGE_KERNEL_NOCACHE);
#else
				vmap(pages, n_pages, VM_MAP, PAGE_KERNEL);
#endif

Is the #ifdef something left over from an older kernel?

Isn't PAGE_KERNEL_NOCACHE always defined?

Thanks for any insight,
Hartley

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel


[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux