On Thursday, December 20, 2012 3:37 PM, Ian Abbott wrote: > On 20/12/12 17:09, H Hartley Sweeten wrote: >> 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? > > Unfortunately not; it's arch dependent. Neither ARM nor PowerPC define > it, for example. Well that's annoying... Hmph... Hartley _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/devel