On Mon, 26 Mar 2007, Wu, Bryan wrote: > As struct mm_struct vm_mm is hidden in struct vm_area_struct in NOMMU > arch, this is a fixing method when compiling failure on blackfin arch.
What compile error is that? I don't see any #ifdef around ->vm_mm for struct vm_area_struct in <linux/mm.h>. On Mon, 26 Mar 2007, Wu, Bryan wrote: > + if (!mm) > + return -ENOENT; > + > details.i_mmap_lock = &mapping->i_mmap_lock; This means you won't be able to revoke memory mapped files with no-MMU. I'd rather fix it properly if someone can give me a clue how mmap works on non-MMU. Pekka - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/