Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757383AbeAHPLf (ORCPT + 1 other); Mon, 8 Jan 2018 10:11:35 -0500 Received: from bombadil.infradead.org ([65.50.211.133]:33874 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756537AbeAHPLd (ORCPT ); Mon, 8 Jan 2018 10:11:33 -0500 Date: Mon, 8 Jan 2018 16:11:26 +0100 From: Peter Zijlstra To: Tim Chen Cc: Thomas Gleixner , Andy Lutomirski , Linus Torvalds , Greg KH , Dave Hansen , Andrea Arcangeli , Andi Kleen , Arjan Van De Ven , David Woodhouse , linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 4/8] x86/spec_ctrl: Add sysctl knobs to enable/disable SPEC_CTRL feature Message-ID: <20180108151126.GJ32035@hirez.programming.kicks-ass.net> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.2 (2017-12-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: On Fri, Jan 05, 2018 at 06:12:19PM -0800, Tim Chen wrote: > +bool ibrs_inuse(void); > +bool ibrs_inuse(void) > +{ > + return ibrs_enabled == IBRS_ENABLED; > +} > +EXPORT_SYMBOL_GPL(ibrs_inuse); Doesn't appear to actually be used anywhere...