lkml.org 
[lkml]   [2008]   [Jul]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectError 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


\
 
 \ /
  Last update: 2008-07-18 08:29    [W:0.020 / U:0.468 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site