Messages in this thread Patch in this message | | | Date | Fri, 18 Jul 2008 14:27:34 +0800 | From | "Peter Teoh" <> | Subject | Error during compilation of MMU notifier v18 patch |
| |
Sorry if posted wrongly. I downloaded the latest MMU notifier patch:
http://www.kernel.org/pub/linux/kernel/people/andrea/patches/v2.6/2.6.26-rc7/mmu-notifier-v18/
And applied it to my rc7 git checkout.
Outcome is all "succeeded" message.
But during compilation, I got the following errors:
CC mm/filemap_xip.o mm/filemap_xip.c: In function '__xip_unmap': mm/filemap_xip.c:197: error: implicit declaration of function 'mmu_notifier_invalidate_page' make[1]: *** [mm/filemap_xip.o] Error 1
Applying the following patch:
/download1/2.6.26-rc7>diff -Nurp ../rc7/mm/filemap_xip.c mm/filemap_xip.c --- ../rc7/mm/filemap_xip.c 2008-07-18 14:15:21.000000000 +0800 +++ mm/filemap_xip.c 2008-07-18 14:35:26.000000000 +0800 @@ -14,6 +14,7 @@ #include <linux/uio.h> #include <linux/rmap.h> #include <linux/sched.h> +#include <linux/mmu_notifier.h> #include <asm/tlbflush.h> #include <asm/io.h>
Corrected the error. -- Regards, Peter Teoh
| |