Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1317503

Re: [RFC PATCH] PPC32: Fix build failure caused by missing dirty pte handlers

From Michael Ellerman <mpe@ellerman.id.au>
Newsgroups linux.kernel
Subject Re: [RFC PATCH] PPC32: Fix build failure caused by missing dirty pte handlers
Date 2016-01-26 04:20 +0100
Message-ID <qV2kF-5wa-1@gated-at.bofh.it> (permalink)
References <qUQjw-5hx-31@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, 2016-01-25 at 09:22 -0500, Pranith Kumar wrote:

> In 4.5-rc1, I am getting a build failure as follows:
> 
> mm/memory.c: In function ‘do_swap_page’:
> mm/memory.c:2573:9: error: implicit declaration of function ‘pte_mksoft_dirty’
> [-Werror=implicit-function-declaration]
>    pte = pte_mksoft_dirty(pte);
> 
> The soft dirty pte handlers are declared only for PPC64 on PPC_BOOK3S in
> arch/powerpc/include/asm/book3s/64/hash.h and missing in the 32-bit arch.
> 
> Avoid this error by not setting HAVE_ARCH_SOFT_DIRTY for 32-bit system.

It's building for me, what config are you using?

http://kisskb.ellerman.id.au/kisskb/buildresult/12597204/

cheers

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[RFC PATCH] PPC32: Fix build failure caused by missing dirty pte handlers Pranith Kumar <bobby.prani@gmail.com> - 2016-01-25 15:30 +0100
  Re: [RFC PATCH] PPC32: Fix build failure caused by missing dirty  pte handlers Michael Ellerman <mpe@ellerman.id.au> - 2016-01-26 04:20 +0100

csiph-web