From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from bh-25.webhostbox.net ([208.91.199.152]:56174 "EHLO bh-25.webhostbox.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750865AbcCXSB4 (ORCPT ); Thu, 24 Mar 2016 14:01:56 -0400 Date: Thu, 24 Mar 2016 11:01:55 -0700 From: Guenter Roeck To: Sasha Levin Cc: stable Subject: Re: Build error in 3.18.y-stable-queue (s390) Message-ID: <20160324180155.GA15991@roeck-us.net> References: <56F210BD.1060301@roeck-us.net> <56F219B0.3040107@roeck-us.net> <56F3DFC3.8060600@oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <56F3DFC3.8060600@oracle.com> Sender: stable-owner@vger.kernel.org List-ID: On Thu, Mar 24, 2016 at 08:38:27AM -0400, Sasha Levin wrote: > Thanks for the report Guenter! > > On 03/23/2016 12:21 AM, Guenter Roeck wrote: > > On 03/22/2016 08:42 PM, Guenter Roeck wrote: > >> Hi Sasha, > >> > >> s390 builds in v3.18.y-stable-queue fail as follows. > >> > >> ./arch/s390/include/asm/mmu_context.h: In function 'init_new_context': > >> ./arch/s390/include/asm/mmu_context.h:33:3: error: implicit declaration of function 'mm_inc_nr_pmds' > >> > >> Culprit appears to be 's390/mm: four page table levels vs. fork'. It uses mm_inc_nr_pmds(), > >> which does not exist in v3.18. > > Should be fixed, I backported "mm: account pmd page tables to the process" as well. > > >> I noticed that arm64:allmodconfig builds fail as well, but that is not a new problem and > >> only seen with gcc 5.2 (or at least not with gcc 4.9.1). I'll see if I can track this down. > >> > > > > Fixing the arm64 problem will require patch f5e0a12ca2d9 ("arm64: psci: move psci firmware > > calls out of line"). The patch doesn't apply cleanly; there is a minor conflict in the > > arm64 Makefile. Let me know if you need me to send a backport. > > I've grabbed that commit. > Now I get: alpha, m32r, m68k, microblaze, parisc, sparc: mm/mmap.c: In function 'exit_mmap': mm/mmap.c:2786:2: error: 'PUD_SHIFT' undeclared s390: ./arch/s390/include/asm/mmu_context.h: In function 'init_new_context': ./arch/s390/include/asm/mmu_context.h:30:22: error: '_ASCE_TYPE_REGION3' undeclared Guenter