From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752971AbcDZWAe (ORCPT ); Tue, 26 Apr 2016 18:00:34 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:50599 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752176AbcDZWAd (ORCPT ); Tue, 26 Apr 2016 18:00:33 -0400 Date: Tue, 26 Apr 2016 15:00:32 -0700 From: Andrew Morton To: Sergey Senozhatsky Cc: Jan Beulich , Vitaly Kuznetsov , Andy Lutomirski , Ingo Molnar , linux-kernel@vger.kernel.org, Sergey Senozhatsky Subject: Re: [-mmots 2016-04-25] hugetlb: error: =?UTF-8?Q?=E2=80=98cpu=5F?= =?UTF-8?Q?has=5Fpse=E2=80=99?= undeclared Message-Id: <20160426150032.6d97757c25bb4cdfb9a345cf@linux-foundation.org> In-Reply-To: <20160426141435.GA501@swordfish> References: <20160426141435.GA501@swordfish> X-Mailer: Sylpheed 3.4.1 (GTK+ 2.24.23; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 26 Apr 2016 23:14:35 +0900 Sergey Senozhatsky wrote: > Hello, > > v4.6-rc5-mmots-2016-04-25-17-33 > > > In file included from include/linux/hugetlb.h:418:0, > from fs/hugetlbfs/inode.c:28: > fs/hugetlbfs/inode.c: In function 'init_hugetlbfs_fs': > ./arch/x86/include/asm/hugetlb.h:7:31: error: 'cpu_has_pse' undeclared (first use in this function) > #define hugepages_supported() cpu_has_pse > ^ hm, how did that happen. I had some issues with cpu_has_pse a number of days ago but they later went away. In my current tree I have, in arch/x86/include/asm/hugetlb.h: #define hugepages_supported() boot_cpu_has(X86_FEATURE_PSE) and that came in from linux-next.patch. I wonder why your tree is different. OK, http://ozlabs.org/~akpm/mmots/broken-out/linux-next.patch has no changes to arch/x86/include/asm/hugetlb.h at all. Maybe I fat-fingered something. Odd. I have just uploaded a new snapshot - it should be good now. Sorry about that.