linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: robherring2@gmail.com (Rob Herring)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM: fix compile error in tlb.h
Date: Fri, 04 Mar 2011 08:31:05 -0600	[thread overview]
Message-ID: <4D70F7A9.3010203@gmail.com> (raw)
In-Reply-To: <1299248663-27130-1-git-send-email-linus.walleij@stericsson.com>

Linus,

On 03/04/2011 08:24 AM, Linus Walleij wrote:
> From: Linus Walleij<linus.walleij@linaro.org>
>
> It seems some of the new tlb handling code merged for 2.6.38-rc7
> use<linux/pagemap.h>  while this is only included for the NON-MMU
> case. This moves the inclusion out of the clause so the kernel
> compiles.
>
> Signed-off-by: Linus Walleij<linus.walleij@linaro.org>
> ---
> Symptom without this patch:
>
> n file included from /home/elinwal/linux-2.6/arch/arm/mm/init.c:27:
> /home/elinwal/linux-2.6/arch/arm/include/asm/tlb.h: In function 'tlb_flush_mmu':
> /home/elinwal/linux-2.6/arch/arm/include/asm/tlb.h:104: error: implicit declaration of function 'release_pages'
> /home/elinwal/linux-2.6/arch/arm/include/asm/tlb.h: In function 'tlb_remove_page':
> /home/elinwal/linux-2.6/arch/arm/include/asm/tlb.h:168: error: implicit declaration of function 'page_cache_release'
> make[3]: *** [arch/arm/mm/init.o] Error 1

There's already a patch in the patch system and Russell's tree for this. 
Perhaps it did not get in due to Russell's machine crashing.

ARM: 6757/1: fix tlb.h induced linux/swap.h build failure

Rob

      reply	other threads:[~2011-03-04 14:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-04 14:24 [PATCH] ARM: fix compile error in tlb.h Linus Walleij
2011-03-04 14:31 ` Rob Herring [this message]

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=4D70F7A9.3010203@gmail.com \
    --to=robherring2@gmail.com \
    --cc=linux-arm-kernel@lists.infradead.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;
as well as URLs for NNTP newsgroup(s).