Messages in this thread | | | Date | Mon, 26 Mar 2007 13:37:50 +0300 (EEST) | From | Pekka J Enberg <> | Subject | Re: [PATCH -mm] Revoke core code: fix nommu arch compiling error bug |
| |
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 majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |