Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp654529pxf; Wed, 17 Mar 2021 12:35:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxRQCM6JvFjMtnui3TskkyN9RuOrx53z7CWHaoW8ZSg7Gc7kn7zIVRTGLpMSulDuI+PqE4r X-Received: by 2002:aa7:d687:: with SMTP id d7mr43241824edr.118.1616009700418; Wed, 17 Mar 2021 12:35:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616009700; cv=none; d=google.com; s=arc-20160816; b=Z/mc6Vs0Eqt/TmC0MqvW5H9s380JPJeTxEUWfu2ebQgansQDSP4Q83Sl3+hmDpn248 Tk64zcCtXMpGZ/y9FMjGHVnZEe6vTN8fU+sF/aBv2GWuT1VhKEcJnbtmea+UZ/Mas3eb Mwz0uZGZ8NEM7wHFyqBY+iwGVMc6FwHy/USFUMEukctEXwWiVN8jPg6QjPXOJEKRMxKj lQgui6x2fdjbLL5Oq5QydxK7FTWJqZYADoW+IuDQmtnlhjr3dqxheI8wrzfGRb2wqIjr X7B+UmmubtlByEO8a0OKpya9GPfUZjCGz9REP/dn6LPuVpuDe7sqojDLJImn+8AQlXvf Oqjw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:robot-unsubscribe :robot-id:message-id:mime-version:references:in-reply-to:cc:subject :to:reply-to:sender:from:dkim-signature:dkim-signature:date; bh=413vhgPwGyEe8XqBYLwSj3f1JMgtKyL76g5ZfCUfAEE=; b=j073nY69fon7dJOp0zbtbglzZuHQGJkjTXepT8r4h9mkIFN0LSYAamqo/NfGr2NT0d pEVoh7ZER8HhkMr56OobgQOMKPNrLZI9qjLZ0Ze8Bddy8vOzIzVhtNdcpsG9+l3Yt9Eu ttadnjS+B+aB0RUa6WMnQ0PKLP4x9H8cH284xJf8FnU5leN59cwuAWKn3BReI/e29Ymt miUv7nbaHxDz2ieHu4RitZOmhvyy3E28jdBazm6IXOfmj+wtteo5clnfwAMhNSteVNlc B4tsiE7IxhI45sMaxByrN3VAv8y5U34YdSZ7eipOMEougTNr1zDImGVEA5izsVu+5635 zCbw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=jIMHdEw3; dkim=neutral (no key) header.i=@linutronix.de; 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=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p10si16829778eji.76.2021.03.17.12.34.37; Wed, 17 Mar 2021 12:35:00 -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=@linutronix.de header.s=2020 header.b=jIMHdEw3; dkim=neutral (no key) header.i=@linutronix.de; 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=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233244AbhCQTdT (ORCPT + 99 others); Wed, 17 Mar 2021 15:33:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36192 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233112AbhCQTc4 (ORCPT ); Wed, 17 Mar 2021 15:32:56 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B3785C06174A; Wed, 17 Mar 2021 12:32:56 -0700 (PDT) Date: Wed, 17 Mar 2021 19:32:52 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1616009573; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=413vhgPwGyEe8XqBYLwSj3f1JMgtKyL76g5ZfCUfAEE=; b=jIMHdEw3btbkTZ4n7zSyc2RlFmXm+rQsVuGHcvBIGkI+EWPI1pKCEWHQV+/ctYTMCCjeSX zEdxNqO3VHX+bDpNBuYEPE15OvAG6ALCUd6ufHQCoSGEScare4dbXNQd8Jmt7IOGItb960 k6xaUHa8/rdl9JNbX9qQEENCPnHL9lllU1dQIOkF+udGDZ5bK3djpO4co9mrzfx8fVQ+of 8thlIfo+jqrCua5FCDScGaqXDeNtMHzcNlPEFvN8l7V8eiAaMq7hGnB3mug+IGVsSNii+w ENzsh5BDlxT803amJfgu59BNBasDKjPxonm3Kdbzp7BvTa0j6/4E9sL89/aCoA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1616009573; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=413vhgPwGyEe8XqBYLwSj3f1JMgtKyL76g5ZfCUfAEE=; b=bXkkad0CV4TXUzqy73OaslAE6Uv0x3iTWVv/NraxTZORJ/c40pT+J5KjxXViw03PRdyuIu M97PkyauAtHoC/AQ== From: "tip-bot2 for Borislav Petkov" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: x86/core] tools/insn: Restore the relative include paths for cross building Cc: Ian Rogers , Stephen Rothwell , Borislav Petkov , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20210317150858.02b1bbc8@canb.auug.org.au> References: <20210317150858.02b1bbc8@canb.auug.org.au> MIME-Version: 1.0 Message-ID: <161600957270.398.1883140806620586941.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The following commit has been merged into the x86/core branch of tip: Commit-ID: 0705ef64d1ff52b817e278ca6e28095585ff31e1 Gitweb: https://git.kernel.org/tip/0705ef64d1ff52b817e278ca6e28095585ff31e1 Author: Borislav Petkov AuthorDate: Wed, 17 Mar 2021 11:33:04 +01:00 Committer: Borislav Petkov CommitterDate: Wed, 17 Mar 2021 20:17:05 +01:00 tools/insn: Restore the relative include paths for cross building Building perf on ppc causes: In file included from util/intel-pt-decoder/intel-pt-insn-decoder.c:15: util/intel-pt-decoder/../../../arch/x86/lib/insn.c:14:10: fatal error: asm/inat.h: No such file or directory 14 | #include /*__ignore_sync_check__ */ | ^~~~~~~~~~~~ Restore the relative include paths so that the compiler can find the headers. Fixes: 93281c4a9657 ("x86/insn: Add an insn_decode() API") Reported-by: Ian Rogers Reported-by: Stephen Rothwell Signed-off-by: Borislav Petkov Tested-by: Ian Rogers Tested-by: Stephen Rothwell Link: https://lkml.kernel.org/r/20210317150858.02b1bbc8@canb.auug.org.au --- tools/arch/x86/lib/insn.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/arch/x86/lib/insn.c b/tools/arch/x86/lib/insn.c index cd4dedd..c41f958 100644 --- a/tools/arch/x86/lib/insn.c +++ b/tools/arch/x86/lib/insn.c @@ -11,13 +11,13 @@ #else #include #endif -#include /*__ignore_sync_check__ */ -#include /* __ignore_sync_check__ */ +#include "../include/asm/inat.h" /* __ignore_sync_check__ */ +#include "../include/asm/insn.h" /* __ignore_sync_check__ */ #include #include -#include /* __ignore_sync_check__ */ +#include "../include/asm/emulate_prefix.h" /* __ignore_sync_check__ */ #define leXX_to_cpu(t, r) \ ({ \