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:

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
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.

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
Please read the FAQ at