lkml.org 
[lkml]   [2016]   [Jan]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [RFC PATCH] PPC32: Fix build failure caused by missing dirty pte handlers
On Tue, Jan 26, 2016 at 12:45 AM, Pranith Kumar <bobby.prani@gmail.com> wrote:
> On Mon, Jan 25, 2016 at 10:13 PM, Michael Ellerman <mpe@ellerman.id.au> wrote:
>> 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/
>>

Found the original config file too. Please find it attached here.


--
Pranith
[unhandled content-type:application/octet-stream]
\
 
 \ /
  Last update: 2016-01-27 23:41    [W:2.393 / U:0.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site