Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp3760363pxv; Mon, 19 Jul 2021 08:08:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwOnWrgOLIoZoIpx5+dwjDNoIhVSSoXnd29FddYSaYJ9CH3ryhuP2SYV/f1P/tzWSOSDlHo X-Received: by 2002:a05:6638:16c4:: with SMTP id g4mr22378868jat.86.1626707307744; Mon, 19 Jul 2021 08:08:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626707307; cv=none; d=google.com; s=arc-20160816; b=JfsRVbG187azw56vcCLx8dAceUpuYh2v1CR+3EGCP6ygpM6VEGiBqZoFf117USwFKf NSdyxRRWyW/JWJf1du9ImkiWvy0zZA8JRBkItU4vTXhP0ucM3k7nQ2iBhfYQHHS3typh hy3ZKCDsvWrDzxdyYv3ifrFG+tfxJWGhgG3dlRpN6eQu8VFxV5BAVEFgtrgrmYRhPNdo gUhb7S0Th4SK0PJogd7pj5lSVuChHBX1d5ItnlxyYISzDGpFj9TvWIt6FuaJzKPfwmVe 9JYP1PtFfOp3LKV1FZkQGRSx/6Y4h2JmPgluU+cP3yLIMSnEBzHAGdWODa5td4gWPndT iXhw== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=ajw7dt1CLmqtGa+bayM69EWLscaFO+BPwAi98HwNpKw=; b=njYM/0hzuCMSMIi4DAQfNmSbnJdeFoDy0Holgn/xJCmIgtblqOZy0M3NTAZFDulAh8 hRhCg+F8tTrY+4Ir7rn+z1Q9wSMHOmdjWkY/H9+JtfDfT8RXQgF/G45jUuUWbnLbG5B6 GPvEybErNUJEBHfCzC/0OzoqqBb3ZdO9CRGNuWf+HFbX5yImsxGSax1zsfQwfHwrxvWr lvIy0KPTe7fjvYTbwwyE1PYgi21T8qD0+PS5oA4tQRFAKZHBohYYWmh6HZI9fbaA3Bdy Q+OEdvSoprZ9QQJJPLt5hAKY40PYOUhwyBaoLI3EcP/6jSS2Bv2B4fuCDqdcf4cEPIFq pUCw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="M/XP/qKx"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g5si18656845ilb.152.2021.07.19.08.08.13; Mon, 19 Jul 2021 08:08:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="M/XP/qKx"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243856AbhGSO0G (ORCPT + 99 others); Mon, 19 Jul 2021 10:26:06 -0400 Received: from mail.kernel.org ([198.145.29.99]:58348 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243561AbhGSOYJ (ORCPT ); Mon, 19 Jul 2021 10:24:09 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id E6BBE6124B; Mon, 19 Jul 2021 15:03:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1626707034; bh=VDn8Lf76RE6bwRYg4ASwwlWSFYqZM+D7FfaQchqCbJY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=M/XP/qKxZu0bm3uSKN+tW+sUKRrM4Ji3IOFo3CWr+U+sxFNk7wMACXrEyIRctw54+ DakiqGE6ZhRuWdZh16vW0rS1FY0P/9ODL8mCGVi7myqximN7YQ1ycvHHJ7EvDLvf0c EzWQlkHo79nlLdHQivzHdyVp22yMvRjMkZwnvKIM= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, kernel test robot , Randy Dunlap , Thomas Bogendoerfer , linux-mips@vger.kernel.org, Kyungsik Lee , Sasha Levin Subject: [PATCH 4.4 187/188] mips: disable branch profiling in boot/decompress.o Date: Mon, 19 Jul 2021 16:52:51 +0200 Message-Id: <20210719144942.609613328@linuxfoundation.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210719144913.076563739@linuxfoundation.org> References: <20210719144913.076563739@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: X-Mailing-List: linux-kernel@vger.kernel.org From: Randy Dunlap [ Upstream commit 97e488073cfca0eea84450169ca4cbfcc64e33e3 ] Use DISABLE_BRANCH_PROFILING for arch/mips/boot/compressed/decompress.o to prevent linkage errors. mips64-linux-ld: arch/mips/boot/compressed/decompress.o: in function `LZ4_decompress_fast_extDict': decompress.c:(.text+0x8c): undefined reference to `ftrace_likely_update' mips64-linux-ld: decompress.c:(.text+0xf4): undefined reference to `ftrace_likely_update' mips64-linux-ld: decompress.c:(.text+0x200): undefined reference to `ftrace_likely_update' mips64-linux-ld: decompress.c:(.text+0x230): undefined reference to `ftrace_likely_update' mips64-linux-ld: decompress.c:(.text+0x320): undefined reference to `ftrace_likely_update' mips64-linux-ld: arch/mips/boot/compressed/decompress.o:decompress.c:(.text+0x3f4): more undefined references to `ftrace_likely_update' follow Fixes: e76e1fdfa8f8 ("lib: add support for LZ4-compressed kernel") Reported-by: kernel test robot Signed-off-by: Randy Dunlap Cc: Thomas Bogendoerfer Cc: linux-mips@vger.kernel.org Cc: Kyungsik Lee Signed-off-by: Thomas Bogendoerfer Signed-off-by: Sasha Levin --- arch/mips/boot/compressed/decompress.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/mips/boot/compressed/decompress.c b/arch/mips/boot/compressed/decompress.c index 080cd53bac36..a1a54a3af03b 100644 --- a/arch/mips/boot/compressed/decompress.c +++ b/arch/mips/boot/compressed/decompress.c @@ -11,6 +11,8 @@ * option) any later version. */ +#define DISABLE_BRANCH_PROFILING + #include #include #include -- 2.30.2