Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp3867804pxv; Mon, 19 Jul 2021 10:39:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwjANMxePtuXCZrFxf13Ha5xKQe8OIbi+oY1Xsjv33vNsMaPkasI7e6o35EdWFiyhmckjbd X-Received: by 2002:a05:6402:3507:: with SMTP id b7mr36329580edd.254.1626716287250; Mon, 19 Jul 2021 10:38:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626716287; cv=none; d=google.com; s=arc-20160816; b=N2WZiiStJqmax00dxr/gwIkYystdopAfaQDXRWuKOZU3FRdUmwOWkIbttyRT8Sd8RA S9rwla/YPYB3Mo/JqCWbO+qlV/Ci4BGk3156e//auhM8S630ezghLViR/R07iUreOMAk FR4OxnQ8gsNPS+bQQuxf5q/CRLl7UvJwxVoVcz4bfA7p0kLDTxKGMVFjBM3a5eSWHgFj klXAeKPck9ZfXTpQ14mEgMqWjTvbb+p/RWm//RtsEBig5KMT1bmIX0tNuttAjRTq2sw9 Rxh3bKRCxrMbxQkHpi0biNeor8HUnkumYRCTaIrFDR/t/Jr762LI8MHcarBXmrn16jp+ WrjQ== 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=Cwcugbj0Zb1XVYEnmQnw6dDy+s3b5xrN36jFO0lfEvs=; b=Y0JOTk1uELS5AzOlZ8Y0bUuy71iOgJq1Bn64j8ngE/lqE+lILgUk3yfvWmrbBc9Dxa bQyj+ciGlitKSBPFJpCZkHBcJa6TCjAgA3D1CWf4QwZpfnBjZOjkNtSmwTaf0flxH7+/ bnm56tAk0kUVOmESI7ORQOhkh37gzWgTFHqIP48DK3VrDLpCLjq0fuErmBCWHfM1w/2v CFoASDglN5woJOeZZaxKbRA9hb13Yll/uZFAeRzfs0aI2O7O6D3r38aPmemBGPtpWAlP SMD9wTRc7QmvM1KAp6CJwpVX0z/eX7M1ANCJXAynTUrrUB0J5Jeh+ukaPRe9CXNxaP8F 9U+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=CXBPNxK7; 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 ku26si9465509ejc.507.2021.07.19.10.37.44; Mon, 19 Jul 2021 10:38:07 -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=CXBPNxK7; 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 S1353031AbhGSQuR (ORCPT + 99 others); Mon, 19 Jul 2021 12:50:17 -0400 Received: from mail.kernel.org ([198.145.29.99]:40008 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1348081AbhGSPYd (ORCPT ); Mon, 19 Jul 2021 11:24:33 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 51B8661426; Mon, 19 Jul 2021 16:01:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1626710495; bh=1w39NO3r1fdOq1xGZi/VCg80LLnswPcxJ4oM8HMkOX4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=CXBPNxK7dCLx4MgkMNO9yV5Pqnq/LN/HpZoEB2Z6/LEzjXYgrX+yrqTbrxdIlg9x7 dvj9bCQsUBAIMwaHLfCmZkGv+Rfm3tGq3Hvt0QH47jkEZ3gx7KFAYIbUphvULmVXHP 7NTM2p/viuPxD2OFErUDrekShXPTVYIm5C6dIIdw= 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 5.10 240/243] mips: disable branch profiling in boot/decompress.o Date: Mon, 19 Jul 2021 16:54:29 +0200 Message-Id: <20210719144948.668310419@linuxfoundation.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210719144940.904087935@linuxfoundation.org> References: <20210719144940.904087935@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 e3946b06e840..1e91155bed80 100644 --- a/arch/mips/boot/compressed/decompress.c +++ b/arch/mips/boot/compressed/decompress.c @@ -7,6 +7,8 @@ * Author: Wu Zhangjin */ +#define DISABLE_BRANCH_PROFILING + #include #include #include -- 2.30.2