mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Frederik Deweerdt <deweerdt@free.fr>
To: Aristeu Sergio Rozanski Filho <aris@cathedrallabs.org>
Cc: dhowells@redhat.com, linux-kernel@vger.kernel.org
Subject: Re: cachefiles on latest -mm fails to build on powerpc
Date: Fri, 15 Sep 2006 15:50:23 +0000	[thread overview]
Message-ID: <20060915155023.GC2876@slug> (raw)
In-Reply-To: <20060915123132.GA4817@cathedrallabs.org>

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

  reply	other threads:[~2006-09-15 13:51 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-15 17:35 Frederik Deweerdt
2006-09-15 12:31 ` Aristeu Sergio Rozanski Filho
2006-09-15 15:50   ` Frederik Deweerdt [this message]
2006-09-15 15:17     ` Aristeu Sergio Rozanski Filho
2006-09-15 15:39       ` David Howells
2006-09-15 17:58         ` [-mm patch] add missing page_copy export for ppc and powerpc (was Re: cachefiles on latest -mm fails to build on powerpc) Frederik Deweerdt
2006-09-15 17:33           ` Aristeu Sergio Rozanski Filho

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060915155023.GC2876@slug \
    --to=deweerdt@free.fr \
    --cc=aris@cathedrallabs.org \
    --cc=dhowells@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®