Re: cachefiles on latest -mm fails to build on powerpc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Sep 15, 2006 at 09:31:34AM -0300, Aristeu Sergio Rozanski Filho wrote:
> currently on latest -mm, cachefiles fail to compile on powerpc
> (ARCH=powerpc) at least:
> 
>   MODPOST 592 modules
>   WARNING: "copy_page" [fs/cachefiles/cachefiles.ko] undefined!
>   make[1]: *** [__modpost] Error 1
>   make: *** [modules] Error 2
> 
> config file attached
> 
Does the following patch help?

Thanks,
Frederik


diff --git a/include/linux/highmem.h b/include/linux/highmem.h
index b151c53..703dbaf 100644
--- a/include/linux/highmem.h
+++ b/include/linux/highmem.h
@@ -4,6 +4,7 @@ #define _LINUX_HIGHMEM_H
 #include <linux/fs.h>
 #include <linux/mm.h>
 
+#include <asm/page.h>
 #include <asm/cacheflush.h>
 
 #ifndef ARCH_HAS_FLUSH_ANON_PAGE
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux