lkml.org 
[lkml]   [2006]   [Sep]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: cachefiles on latest -mm fails to build on powerpc
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 majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2006-09-15 15:55    [W:0.042 / U:0.124 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site