Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp2078129ybp; Thu, 10 Oct 2019 01:47:47 -0700 (PDT) X-Google-Smtp-Source: APXvYqzob23JlYSDTAqHGj9mXhzVy+xFv1OW8XTWIANnZUCsOKAcVpzLpNEecqbQVV+Uiqn+vtwz X-Received: by 2002:a50:fc8b:: with SMTP id f11mr7090175edq.98.1570697267561; Thu, 10 Oct 2019 01:47:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570697267; cv=none; d=google.com; s=arc-20160816; b=eJOjXiRwChsV03+hdhxqBOkl+svxtMkq/Z+vk66KICAXyuAAzQxHUWlmjWX8WgnpRD h6Rce0ldng9fzrSzPBLEJ743LMwYBGLyUFRsSr1z/K0jL3YzPz7SREIyrm+uxF9t2AkU 1GDGX+9kxAHNBrRUpGUpA+C35AYt2HwXxkTtpkP+YtIXyMTqB8NqG/ZzuS+x5k07jYxA aDIDIiD0guJD3GrDWrZCzx/6PIctYwb3TzWO7OQgTJiQzXD+psm2P21kKTK9H4fQF683 z/xJxHImV83SkiUjPn6tiT8YQ6xJxhKgL8zAFKUBn+5sND8wBQpuCtyI00XUKRYc6DJS r4SA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=7XRwSwfTtY/dU/H3DQTD4LFHLzk+7iKg33VnPXixDmQ=; b=B+Ou0CtwS6cDmH+EneX4WnL/osNFGsiXofKZmDk+pD+dYFjQ47xDpwER/9ac5sI/hu 6ZOJ/4zOD5g6UmRsb0XBVh07b9Uar4MJ3Xvq0tlxDfAg/ixD/x7ahvF+peH8ICVH8aO3 UAHI+CwRbYG5zm4WZviaDU9lYqS1RUsfx8dmyZEfMq/bcp7WvTZ+W2Wu5NsCyj0WOlLj U7osDRfhmOxjeVV219paJXnfW7BOwq0Rso4XFdaq6J2+URRv105rNOOmaJ8yGTINJoF+ VZVxWRkwNJ8qW0XL1Hg8b0AgZeTkQiyZm6uAXySJ/muUzLzLasWpWcdTuH7gdJNGZf2g j41Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=oblTsCzV; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id oa24si2539563ejb.41.2019.10.10.01.47.24; Thu, 10 Oct 2019 01:47:47 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=oblTsCzV; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388916AbfJJIoV (ORCPT + 99 others); Thu, 10 Oct 2019 04:44:21 -0400 Received: from mail.kernel.org ([198.145.29.99]:49472 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388914AbfJJIoT (ORCPT ); Thu, 10 Oct 2019 04:44:19 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 9154B21D7A; Thu, 10 Oct 2019 08:44:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1570697059; bh=kgzfr/vRrO0hm5BZsVAdICd2cayTt5lbLSD11QS0AvY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=oblTsCzVVCAqP9pCe4fNKeWa+eYn4NLzgUpt0xkzHwzU4fXrnk0euI9UUdeoaVy8i PoWt5sEnMSnO8dZ2VACclUqYUTmkZ8Q1/T7i6IJLXrXsRM621AQjnpSsDu2eI7AvV5 8C3DWiAEH4BSDaJVqTd0TOA3UuywgAA6pfUzFnOE= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Naresh Kamboju , Arnaldo Carvalho de Melo , David Ahern , Jiri Olsa , Linus Torvalds , Namhyung Kim , Peter Zijlstra , Thomas Gleixner , Ingo Molnar , Sasha Levin Subject: [PATCH 5.3 132/148] perf unwind: Fix libunwind build failure on i386 systems Date: Thu, 10 Oct 2019 10:36:33 +0200 Message-Id: <20191010083620.379175638@linuxfoundation.org> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20191010083609.660878383@linuxfoundation.org> References: <20191010083609.660878383@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Arnaldo Carvalho de Melo [ Upstream commit 26acf400d2dcc72c7e713e1f55db47ad92010cc2 ] Naresh Kamboju reported, that on the i386 build pr_err() doesn't get defined properly due to header ordering: perf-in.o: In function `libunwind__x86_reg_id': tools/perf/util/libunwind/../../arch/x86/util/unwind-libunwind.c:109: undefined reference to `pr_err' Reported-by: Naresh Kamboju Signed-off-by: Arnaldo Carvalho de Melo Cc: David Ahern Cc: Jiri Olsa Cc: Linus Torvalds Cc: Namhyung Kim Cc: Peter Zijlstra Cc: Thomas Gleixner Cc: linux-kernel@vger.kernel.org Signed-off-by: Ingo Molnar Signed-off-by: Sasha Levin --- tools/perf/arch/x86/util/unwind-libunwind.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/perf/arch/x86/util/unwind-libunwind.c b/tools/perf/arch/x86/util/unwind-libunwind.c index 05920e3edf7a7..47357973b55b2 100644 --- a/tools/perf/arch/x86/util/unwind-libunwind.c +++ b/tools/perf/arch/x86/util/unwind-libunwind.c @@ -1,11 +1,11 @@ // SPDX-License-Identifier: GPL-2.0 #include +#include "../../util/debug.h" #ifndef REMOTE_UNWIND_LIBUNWIND #include #include "perf_regs.h" #include "../../util/unwind.h" -#include "../../util/debug.h" #endif #ifdef HAVE_ARCH_X86_64_SUPPORT -- 2.20.1