Error during compilation of MMU notifier v18 patch
From: Peter Teoh
Date: Fri Jul 18 2008 - 02:27:47 EST
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/