Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754586AbcDVSFu (ORCPT ); Fri, 22 Apr 2016 14:05:50 -0400 Received: from terminus.zytor.com ([198.137.202.10]:48302 "EHLO mail.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753844AbcDVSFt (ORCPT ); Fri, 22 Apr 2016 14:05:49 -0400 Subject: Re: [tip:x86/asm] x86/mm/xen: Suppress hugetlbfs in PV guests To: mingo@kernel.org, dvlasenk@redhat.com, vkuznets@redhat.com, tglx@linutronix.de, linux-kernel@vger.kernel.org, toshi.kani@hp.com, xen-devel@lists.xenproject.org, luto@amacapital.net, mcgrof@suse.com, boris.ostrovsky@oracle.com, jbeulich@suse.com, david.vrabel@citrix.com, bp@alien8.de, torvalds@linux-foundation.org, akpm@linux-foundation.org, brgerst@gmail.com, peterz@infradead.org, JGross@suse.com, linux-tip-commits@vger.kernel.org References: <57188ED802000078000E431C@prv-mh.provo.novell.com> From: "H. Peter Anvin" Message-ID: <571A6789.1040807@zytor.com> Date: Fri, 22 Apr 2016 11:03:53 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 843 Lines: 26 On 04/22/2016 02:47 AM, tip-bot for Jan Beulich wrote: > Commit-ID: 103f6112f253017d7062cd74d17f4a514ed4485c > Gitweb: http://git.kernel.org/tip/103f6112f253017d7062cd74d17f4a514ed4485c > Author: Jan Beulich > AuthorDate: Thu, 21 Apr 2016 00:27:04 -0600 > Committer: Ingo Molnar > CommitDate: Fri, 22 Apr 2016 10:05:00 +0200 > > > diff --git a/arch/x86/include/asm/hugetlb.h b/arch/x86/include/asm/hugetlb.h > index f8a29d2..e6a8613 100644 > --- a/arch/x86/include/asm/hugetlb.h > +++ b/arch/x86/include/asm/hugetlb.h > @@ -4,6 +4,7 @@ > #include > #include > > +#define hugepages_supported() cpu_has_pse > Please don't use the cpu_has_* macros anymore, they are going away soon. In this case it should be static_cpu_has(X86_FEATURE_PSE). -hpa