Message ID | 20210308122720.318399185@linuxfoundation.org |
---|---|
State | Superseded |
Headers | show
Return-Path: <SRS0=Q14i=IG=vger.kernel.org=stable-owner@kernel.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-19.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER, INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 726A2C43333 for <stable@archiver.kernel.org>; Mon, 8 Mar 2021 12:37:32 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 4455665224 for <stable@archiver.kernel.org>; Mon, 8 Mar 2021 12:37:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232391AbhCHMhA (ORCPT <rfc822;stable@archiver.kernel.org>); Mon, 8 Mar 2021 07:37:00 -0500 Received: from mail.kernel.org ([198.145.29.99]:46568 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232481AbhCHMgo (ORCPT <rfc822;stable@vger.kernel.org>); Mon, 8 Mar 2021 07:36:44 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 072BF651C3; Mon, 8 Mar 2021 12:36:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1615207003; bh=mfRl0JKXm4Vwbna0OxArd3Bdxdq0q3v5MfRhlymSb4A=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ULG9I8CrehC9T4H1JjCDJXoiFSx97fHNECPPspSkCgbc9Fip0Dqnfob39+2tHOGDF se7TE9ASR+C6GUQIT8/Oj8ZSQedoDSEtOuGcZrCLaHWcTpIpw5iY4lf9L0pEI7Q+qB uyk/nNGicAqEEtGhK2tI8YW57xQKXmdPgWZEsggQ= From: gregkh@linuxfoundation.org To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>, stable@vger.kernel.org, Will Deacon <will@kernel.org>, Chen Jun <chenjun102@huawei.com>, "Steven Rostedt (VMware)" <rostedt@goodmis.org>, Sasha Levin <sashal@kernel.org> Subject: [PATCH 5.11 36/44] ftrace: Have recordmcount use w8 to read relp->r_info in arm64_is_fake_mcount Date: Mon, 8 Mar 2021 13:35:14 +0100 Message-Id: <20210308122720.318399185@linuxfoundation.org> X-Mailer: git-send-email 2.30.1 In-Reply-To: <20210308122718.586629218@linuxfoundation.org> References: <20210308122718.586629218@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: <stable.vger.kernel.org> X-Mailing-List: stable@vger.kernel.org |
Series |
None
|
expand
|
diff --git a/scripts/recordmcount.c b/scripts/recordmcount.c index b9c2ee7ab43f..cce12e1971d8 100644 --- a/scripts/recordmcount.c +++ b/scripts/recordmcount.c @@ -438,7 +438,7 @@ static int arm_is_fake_mcount(Elf32_Rel const *rp) static int arm64_is_fake_mcount(Elf64_Rel const *rp) { - return ELF64_R_TYPE(w(rp->r_info)) != R_AARCH64_CALL26; + return ELF64_R_TYPE(w8(rp->r_info)) != R_AARCH64_CALL26; } /* 64-bit EM_MIPS has weird ELF64_Rela.r_info.