Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp9980951rwr; Fri, 12 May 2023 01:58:37 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ496eDeTZutHDZgqibOw81xOj9WrkJo+ymBjJybt6mjxzGkUpmdUhAcoTG2rCgBHfvrZOZQ X-Received: by 2002:a17:903:247:b0:1ab:16cd:51a3 with SMTP id j7-20020a170903024700b001ab16cd51a3mr32251021plh.10.1683881917244; Fri, 12 May 2023 01:58:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683881917; cv=none; d=google.com; s=arc-20160816; b=hCwVCHdGSlnZHFfOrUk0vU/lSX7bBsgGmYp5cKd+fPIZ7zPef8krBPFaeyZrc4d42Z B76o81YLG4lhtPudPWLMQr52rb9hKAtsPkvXTLClQWsqS24B+AU/jyJ20arB7j7iVBrK cXuy0zmgJitBBtnaZNaEtxwpxDLT64HJ4DvXGqPtPGmUtceJfcvEj8G0oLiX8dcfTySE FujjkKZvD/qjPB8xEDECtnkrRBvSI6NM8dByW6w4Z2r9/X/3Ky2og32OzeeNIZHLq7be APB60YckJXZJBn2iD5lH/xPmnGTjWB1S7tKsslCxE7ZQRs4Rn1SfeAgoPOl8ILSehe9R tcxA== 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=7QY27g5sr+JNiqZNrge47UBk9a46tJHd9T9wI0BAUVg=; b=KMGBCs5Q1dKeoFog3etuSwHFDOI3G94hyFf9Mk4sbjk/z7lRTXywGfrYFfhZzepHck jrHrgu+qcvMlA2WnQC65nLBrCmdFz88i8tBXX4gprMbZiT4GcJLkz7HTcnxaSjXH1gKt UYDep9l5WARvm6e8dgCSS8ZcpJzky6lxBQXLcIGYatYuwAISYiFYRsLlZSaE2LJTiRhp 4BEQdvCQ4OJqCNevz0Yaq3jdAFwyid/At28ErgmqQShS7Smln4OfQDSqoOzterzymamo z6c3ABJrtzMA8d2bbMNCcLp4A3y84M5khG8mfYKXZa5WNica5lYxA5AO7b9qWHVYSqNX mzFg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@rivosinc-com.20221208.gappssmtp.com header.s=20221208 header.b=Ftw175Ch; 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 u13-20020a17090341cd00b001ac4c0de994si9255541ple.564.2023.05.12.01.58.24; Fri, 12 May 2023 01:58:37 -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=Ftw175Ch; 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 S240134AbjELI4A (ORCPT + 99 others); Fri, 12 May 2023 04:56:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60134 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240057AbjELIz6 (ORCPT ); Fri, 12 May 2023 04:55:58 -0400 Received: from mail-wr1-x42d.google.com (mail-wr1-x42d.google.com [IPv6:2a00:1450:4864:20::42d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DE4B7E43 for ; Fri, 12 May 2023 01:55:56 -0700 (PDT) Received: by mail-wr1-x42d.google.com with SMTP id ffacd0b85a97d-3078aa0b152so4767275f8f.3 for ; Fri, 12 May 2023 01:55:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rivosinc-com.20221208.gappssmtp.com; s=20221208; t=1683881755; x=1686473755; 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=7QY27g5sr+JNiqZNrge47UBk9a46tJHd9T9wI0BAUVg=; b=Ftw175Ch82/1rbUuTQSZES/+yQ6S8AeXWJ5VcD+TAgo+kc3ujHnyYxk4Vx9cWrqXnk YV1zC8iOv4vkkA6pJla1yGyDXtKGzVeWoBbvbgQIRku/rrYOOkyAl4n/In1DM2/acQxv Fy03pankF2FBw0WocZAXDXLeqL1Sx+IN1VNZ9xDcInu6f8+LjY5+0JSebcnEEdlyqU5R szfalpQSRS/qB5VqQ3dVGsQdS4BrcefwZCRWAvc6h1KgNQ94PIYkcg6HoRgC4WOIP8QD cr/J2fXZedxcjopfHa3NT7Tr0qGvUU921a6drV0BrkCy5kwIV9/QkaG6a2casUQCe5zo JsAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683881755; x=1686473755; 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=7QY27g5sr+JNiqZNrge47UBk9a46tJHd9T9wI0BAUVg=; b=SdgemH/Wa2fR06iPbWFYD1YZhvyQxMJBbHVthCLv04L962SKTAHH/bEETdrqr5Bd1Y HqoNAh1zLOO03nuExMufzOWvJ55q4Cakdev8gNbUaKaeI7X/gKmUNGkxIrUJUld/0sg6 NVmhJh5gCIvQqfjq8eusN8QZYCMENdKubE3wNDY1DycZHdOUolu4suctQASMuPO7vLoZ Z4T64xYkAxAwkkUGOE4IhJC0ufVkGnIEukRhDDyDqRxohnIBGTm+8/Q/HTMrBHOKhSWW F1DwPFAVB/1CfIwcdvs4TCt9mkbdypC+k7EItVctUjxlGz8TxvGylM9/ThApoZfOUL+W j65A== X-Gm-Message-State: AC+VfDwoNpnbLpiLj7r3yZfWiIR4L4eBhhw4FimUC/1qWO1XfPmMOV6n 0xIpweGfNlTTiP+fsMT8cbFtvg== X-Received: by 2002:adf:f344:0:b0:308:d687:c1f9 with SMTP id e4-20020adff344000000b00308d687c1f9mr641587wrp.63.1683881755165; Fri, 12 May 2023 01:55:55 -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 o4-20020a5d4a84000000b003062b6a522bsm22955661wrq.96.2023.05.12.01.55.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 May 2023 01:55:54 -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 Subject: [PATCH v2 02/10] include: riscv: Fix wrong include guard in riscv_pmu.h Date: Fri, 12 May 2023 10:53:13 +0200 Message-Id: <20230512085321.13259-3-alexghiti@rivosinc.com> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20230512085321.13259-1-alexghiti@rivosinc.com> References: <20230512085321.13259-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=ham 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 --- 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.37.2