From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id AB991C433F5 for ; Tue, 12 Oct 2021 00:07:18 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 9644560D42 for ; Tue, 12 Oct 2021 00:07:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235838AbhJLAJS (ORCPT ); Mon, 11 Oct 2021 20:09:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34036 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234728AbhJLAI3 (ORCPT ); Mon, 11 Oct 2021 20:08:29 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E374DC061570; Mon, 11 Oct 2021 17:06:28 -0700 (PDT) Message-ID: <20211011223610.463067287@linutronix.de> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1633997184; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: references:references; bh=30YG7qzJGGvYFzVQYDpeQaqJ24jssBdyvBLYMB+8pqE=; b=tuFoHc3CvB604KyPYb91G6msQbCntsX7/nKZGfcSk3TbmtEcYMHNvkLl33cxBTca+SkZhU YCce9McsVBVGsVVaWxzUElKrLb60jdjigFG/L3bjszALXVF60Rv3Q2mvips6/+/Hk1zqb9 YJG+uv727y/wnlPrPjirS4itCZ22oDXHUIVPz4D/NLTklsARdOWRlekoyXQ573Nr+QUWmS qy7Lz8pYp/6wxYfRgEHAwMIvIto5GiDxJ1bLgDbQiu9eNoUBr7ZUSpzbr+S5DisQafZiRj 8kN5LnoarjkHaJxNqYvwm7IAfy91zYrVVGmi79LGGGIGa8KLQSvrMUhNR8dZRw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1633997184; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: references:references; bh=30YG7qzJGGvYFzVQYDpeQaqJ24jssBdyvBLYMB+8pqE=; b=PGDHmx21mQhHnTYI4anE8NXeZGRymNWzg33VgmGjKiYZAanhOWnoEHJBnNgkoCYzmXq6Rx O3Eys41Wscfg07AQ== From: Thomas Gleixner To: LKML Cc: x86@kernel.org, "Chang S. Bae" , Dave Hansen , Arjan van de Ven , kvm@vger.kernel.org, Paolo Bonzini Subject: [patch 03/31] x86/pkru: Remove useless include References: <20211011215813.558681373@linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Date: Tue, 12 Oct 2021 02:00:02 +0200 (CEST) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org PKRU code does not need anything from fpu headers. Include cpufeature.h instead and fixup the resulting fallout in perf. This is a preparation for FPU changes in order to prevent recursive include hell. Signed-off-by: Thomas Gleixner --- arch/x86/events/perf_event.h | 1 + arch/x86/include/asm/pkru.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) --- a/arch/x86/events/perf_event.h +++ b/arch/x86/events/perf_event.h @@ -14,6 +14,7 @@ #include +#include #include #include --- a/arch/x86/include/asm/pkru.h +++ b/arch/x86/include/asm/pkru.h @@ -2,7 +2,7 @@ #ifndef _ASM_X86_PKRU_H #define _ASM_X86_PKRU_H -#include +#include #define PKRU_AD_BIT 0x1 #define PKRU_WD_BIT 0x2