Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp26171580rwd; Mon, 3 Jul 2023 06:24:12 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4kkIRYls+hHlfV8F2zg0cTmmK/lpsLJPauFNEr0SnhtD/ATRmwDbFlin2xsUu/arCy3/ek X-Received: by 2002:a6b:fd0c:0:b0:783:62af:fbdf with SMTP id c12-20020a6bfd0c000000b0078362affbdfmr11662454ioi.14.1688390652587; Mon, 03 Jul 2023 06:24:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688390652; cv=none; d=google.com; s=arc-20160816; b=UDeODJXPqlBQGLjb6x1EQwZMbnCEIE1LbDjPgtiD9RJE31hzKAzwLe4TCWBMc8YS1s pPaH6+Pt33OsWyOEjsoWMXZ7ZEsVWfSDWHMLYtkMVZClMuuuPAeCKHjBVuiLWQpXhSzr 6abc8t4NmQVyXYbQn5I5E3BTFGtX1B9g+RtGfX8lABrmdzIY4FTcxIg7Sgr2hzRDTuNq VWj8SPdaMs+4jR3gagLz0Ke68T29W5rNJoUTzc3DXTVwOjPD1r2SzQlsSVMz05L1SHgS 95vXRaWMTbw+5z30e00rLnhjsUHvJNLscOj/BhGRRiiyQWY4ZwmcNyfy9n7+vYd40gYi b1Rg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=nFKT0CCXN0CmmHE2x8MUQw5sccSB1SdakxOhkM1UsG4=; fh=RAoA7+xUSzt05OdWIWnOjOKgQlKFLbinZLTNsITMJMk=; b=k48KQJ36945sIiUnKdjYV/EnZyYlq6tAFBzTn72jnGqu7LqPTzbPrr2J1r2Z3ZML1z eKtg2jhooKeAgzeQKMhk/mMmhoAIIPaULlt/c2ADRdjGdco8mOvCS9n9td8LNOPMwiT6 3oNFlh5AXbHd85WpRCV+22yFjJBGJxyMg5r6yuKBLwnL90uzMziF506ql0umRyPKAekL RK/gOVi3HJ1zpo6TP5E+exkcRaGNYU0nlDEGiLHZVvSCQgc0k5BhV/Ty1H9fOUy4yQ7N e/Gf9cveZl4EDBl1MueM6IYGxkRkWSqovoEj6PaiQmwZaz7+4dygvquEQuED5+EBDxzU GzuQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@rivosinc-com.20221208.gappssmtp.com header.s=20221208 header.b=i16J4ni9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bv9-20020a632e09000000b0055b990f440bsi2905065pgb.242.2023.07.03.06.23.58; Mon, 03 Jul 2023 06:24:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@rivosinc-com.20221208.gappssmtp.com header.s=20221208 header.b=i16J4ni9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230512AbjGCMs6 (ORCPT + 99 others); Mon, 3 Jul 2023 08:48:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57050 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230489AbjGCMsy (ORCPT ); Mon, 3 Jul 2023 08:48:54 -0400 Received: from mail-wm1-x32b.google.com (mail-wm1-x32b.google.com [IPv6:2a00:1450:4864:20::32b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3A9C8CA for ; Mon, 3 Jul 2023 05:48:53 -0700 (PDT) Received: by mail-wm1-x32b.google.com with SMTP id 5b1f17b1804b1-3fbc0609cd6so42289425e9.1 for ; Mon, 03 Jul 2023 05:48:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rivosinc-com.20221208.gappssmtp.com; s=20221208; t=1688388531; x=1690980531; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=nFKT0CCXN0CmmHE2x8MUQw5sccSB1SdakxOhkM1UsG4=; b=i16J4ni9PRmgjYqxfrE1XbOUgfjftUIExJgrCxjMKUpNa0UHu4g4yT+G0k47/9OXnB 1QZB5ciPxLMxQpV9Unfp9f38KrhcDrdpy19aiupbprTf6ktj0XEUYYpWnKBXfnS7wGnK 1jnDUxYGgsa6sX3GiT/5N6zso6Tc56ROXb4EybFyia6SKn0G4VbXTyoksin6FNg45DCn F/LPCUrj8h4B5eRcFhh1e5sEkDM8anr5dq+g86J0nGpmQUjeO0YiV3ZN8NGYAaRQfSV3 PvNJk0trAcDdP1lOMdY1spR+0ZPZsTIr6rZhwBUjfQWCajqHVMWOW8LuUebj+kMlwQBo UCuQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688388531; x=1690980531; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=nFKT0CCXN0CmmHE2x8MUQw5sccSB1SdakxOhkM1UsG4=; b=gsHVpqYy3elWiSLsN4PCyTckP8eg2ja7cp0iikN4ILttWQAELu0MhKBWFnuNhwD7Rp AkKnRHK4dmaeGSXo97W2xdSSqe+/EtrPyZlR5NtLVfVL7ByejJtuErRhZRSC4z5yM1EN L63VrVXyJRE/FnGjZVlr0aXmrfw9QY3o6fj5AjpW0bfFIWxVTWhpGeEN6qPPOS8ROQfa +cWFpykeP6ePoSmilGDY1InbKzbi3iC2lCVqAxUvt4FJtERgl9U9mFPrvyMWFAarNbDA d7FFXL7NcaE71oInzbQO1OTtaBaq6H3HFT7vr8KpS/ZYGoMFjdt0qgGaMxvU9v+GIqs5 fguQ== X-Gm-Message-State: AC+VfDzO1Rhlbf1JMPSt6tgMSg0NL50NAxoCDWJCGKRJPNjBYo+StBWC d8wGXVbcc9np0FnhbLouGWv4CQ== X-Received: by 2002:a7b:ce0a:0:b0:3fb:b1fd:4172 with SMTP id m10-20020a7bce0a000000b003fbb1fd4172mr7691263wmc.22.1688388531708; Mon, 03 Jul 2023 05:48:51 -0700 (PDT) Received: from alex-rivos.home (amontpellier-656-1-456-62.w92-145.abo.wanadoo.fr. [92.145.124.62]) by smtp.gmail.com with ESMTPSA id u20-20020a05600c211400b003fbb618f7adsm12744165wml.15.2023.07.03.05.48.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Jul 2023 05:48:51 -0700 (PDT) From: Alexandre Ghiti To: Jonathan Corbet , Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Ian Rogers , Paul Walmsley , Palmer Dabbelt , Albert Ou , Atish Patra , Anup Patel , Will Deacon , Rob Herring , Andrew Jones , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org, linux-riscv@lists.infradead.org, linux-arm-kernel@lists.infradead.org Cc: Alexandre Ghiti , Conor Dooley , Atish Patra Subject: [PATCH v4 02/10] include: riscv: Fix wrong include guard in riscv_pmu.h Date: Mon, 3 Jul 2023 14:46:39 +0200 Message-Id: <20230703124647.215952-3-alexghiti@rivosinc.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230703124647.215952-1-alexghiti@rivosinc.com> References: <20230703124647.215952-1-alexghiti@rivosinc.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The current include guard prevents the inclusion of asm/perf_event.h which uses the same include guard: fix the one in riscv_pmu.h so that it matches the file name. Signed-off-by: Alexandre Ghiti Reviewed-by: Conor Dooley Reviewed-by: Andrew Jones Reviewed-by: Atish Patra --- include/linux/perf/riscv_pmu.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/linux/perf/riscv_pmu.h b/include/linux/perf/riscv_pmu.h index 43fc892aa7d9..9f70d94942e0 100644 --- a/include/linux/perf/riscv_pmu.h +++ b/include/linux/perf/riscv_pmu.h @@ -6,8 +6,8 @@ * */ -#ifndef _ASM_RISCV_PERF_EVENT_H -#define _ASM_RISCV_PERF_EVENT_H +#ifndef _RISCV_PMU_H +#define _RISCV_PMU_H #include #include @@ -81,4 +81,4 @@ int riscv_pmu_get_hpm_info(u32 *hw_ctr_width, u32 *num_hw_ctr); #endif /* CONFIG_RISCV_PMU */ -#endif /* _ASM_RISCV_PERF_EVENT_H */ +#endif /* _RISCV_PMU_H */ -- 2.39.2