| links - sound & audio | [links - soft] [links] [home] [search] |
extern int request_module(const char * name, ...) __attribute__ ((format (printf, 1, 2)));This is from linux/kmod.h and for some reason doesn't get into (and I am lazy to figure out why).
if (! current->fs->root)to
if (! (current->fs->root).dentry)This is due to changes in the fs_struct structure in linux/fs_struct.h in (latest?) kernels.
global_flush_tlb();to
__flush_tlb_global();and add the following piece of code:
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 25)
int change_page_attr(struct page *page, int numpages, pgprot_t prot)
{
/* use the set_pages_* API */
if (pgprot_val(prot) & _PAGE_NX)
set_pages_nx(page, numpages);
set_pages_uc(page, numpages);
return 0;
}
#endif