[<prev] [next>] [day] [month] [year] [list]
Message-ID: <804dabb00807172327m4509d134j6d30222759d8cde4@mail.gmail.com>
Date: Fri, 18 Jul 2008 14:27:34 +0800
From: "Peter Teoh" <htmldeveloper@...il.com>
To: LKML <linux-kernel@...r.kernel.org>
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists