From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752337AbcAUTmT (ORCPT ); Thu, 21 Jan 2016 14:42:19 -0500 Received: from terminus.zytor.com ([198.137.202.10]:58058 "EHLO mail.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750915AbcAUTmR (ORCPT ); Thu, 21 Jan 2016 14:42:17 -0500 Subject: Re: [PATCH 2/5] x86/cpufeature: Remove static_cpu_has() To: Borislav Petkov , Andy Lutomirski References: <1453401286-26966-1-git-send-email-bp@alien8.de> <1453401286-26966-3-git-send-email-bp@alien8.de> <20160121193910.GI21930@pd.tnic> Cc: Brian Gerst , X86 ML , LKML From: "H. Peter Anvin" Message-ID: <56A1347D.1000601@zytor.com> Date: Thu, 21 Jan 2016 11:41:49 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 MIME-Version: 1.0 In-Reply-To: <20160121193910.GI21930@pd.tnic> 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 On 01/21/16 11:39, Borislav Petkov wrote: > On Thu, Jan 21, 2016 at 11:04:02AM -0800, Andy Lutomirski wrote: >> Looks good except for the subject line -- you didn't actually remove >> static_cpu_has :) > > Yeah, a proper explanation didn't fit in the commit name line. So I did: > > "x86/cpufeature: Remove the old unsafe static_cpu_has() > > ... and rename the safe one to static_cpu_has(), thereby making the safe > variant the default. > Replace the old static_cpu_has() with safe variant -hpa