Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp4458266pxf; Tue, 23 Mar 2021 11:03:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx7/qhRQac9SDfPudJbWsKLezxhyvOEUhTk0LA0oClKiq9Dzw87C+NxcpG6rN+tWVYcQ+ZB X-Received: by 2002:a05:6402:382:: with SMTP id o2mr5949335edv.238.1616522620458; Tue, 23 Mar 2021 11:03:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616522620; cv=none; d=google.com; s=arc-20160816; b=i+p2fUT0X++FSeC4KCbzWOWtKbqlMzsqIVjFaMjuSJiCjkwGRw8EPoOGkUSzRGpx4r APMB5u0BgV+i0RP03S8OH/gzr/U9azTXZ51RQ1Rd85+Umqo24Om3oagrxV0pcPnaxYlV gpXxTRaM3kVKGKlCGI76EvQ4vhhNMXmUP3Sx1KPdLL7ACUiu6PHEOwImaq7FXiGBmfFW oEgWu1+nqEGRoDmbx+t3axE9XFg6vzHKi2Y4U934BRyKvLd6m+AHiaqCrMIv7lajIllR Ts+hDOjRtuU+ARPh1wzA+qjJ2uUj7TpdxZjtDFstTFe76DJmQblB7qigxsgQr5SUe0ZQ FlBQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:from; bh=OcA3us7dj5BI6tJ+eeMOEdtE5a5md6GmfaWT68Hpme0=; b=DBJzEa2IhEpJZpB6JvWEJAwkSs8ib+GwifcE8BmYmiBd+5lk6HZrL87/m8MXU6We4F uItkIWR/ju0PLORpasyjOOlln4+C9BCZ6d2DpyIJ22IoJVsvjZW6bEyxIV7EBF+U6waT zRKKUIvisE1gYTyx5bb8zov5IZYkOt+kHrxsCuN+WtpDiOY4LKyz19yMTj764fTdg1fj yl+ftWSNmmtOkzRSBlv9Ql5/t9JfiyznwPOz4B4kCZJ3MIsWUgrqTTMdg7CND2mIhU72 RE5EceGup8Pcj5pNqAiggNLyijC/Sywm74C5Q3cSahYmNnW6bve0RAIt+p2rx4hgvxrq S6yA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f16si14046032edv.472.2021.03.23.11.03.15; Tue, 23 Mar 2021 11:03:40 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231371AbhCWSBm (ORCPT + 99 others); Tue, 23 Mar 2021 14:01:42 -0400 Received: from outpost17.zedat.fu-berlin.de ([130.133.4.110]:52443 "EHLO outpost17.zedat.fu-berlin.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230370AbhCWSBF (ORCPT ); Tue, 23 Mar 2021 14:01:05 -0400 Received: from relay1.zedat.fu-berlin.de ([130.133.4.67]) by outpost.zedat.fu-berlin.de (Exim 4.94) with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (envelope-from ) id 1lOlFf-00217c-3X; Tue, 23 Mar 2021 18:55:35 +0100 Received: from mx.physik.fu-berlin.de ([160.45.64.218]) by relay1.zedat.fu-berlin.de (Exim 4.94) with esmtps (TLS1.2) tls TLS_DHE_RSA_WITH_AES_128_CBC_SHA (envelope-from ) id 1lOlFf-003u4O-0G; Tue, 23 Mar 2021 18:55:35 +0100 Received: from epyc.physik.fu-berlin.de ([160.45.64.180]) by mx.physik.fu-berlin.de with esmtps (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1lOlFQ-0000GW-Vz; Tue, 23 Mar 2021 18:55:20 +0100 Received: from glaubitz by epyc.physik.fu-berlin.de with local (Exim 4.94 #2 (Debian)) id 1lOlFQ-003aAf-Mz; Tue, 23 Mar 2021 18:55:20 +0100 From: John Paul Adrian Glaubitz Cc: John Paul Adrian Glaubitz , Alexei Starovoitov , Daniel Borkmann , Andrii Nakryiko , Martin KaFai Lau , Song Liu , Yonghong Song , John Fastabend , KP Singh , Masahiro Yamada , linux-kernel@vger.kernel.org, netdev@vger.kernel.org, bpf@vger.kernel.org Subject: [PATCH] tools: Remove ia64-specific errno.h inclusion from errno.h header Date: Tue, 23 Mar 2021 18:55:11 +0100 Message-Id: <20210323175513.853947-1-glaubitz@physik.fu-berlin.de> X-Mailer: git-send-email 2.31.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: John Paul Adrian Glaubitz X-Originating-IP: 160.45.64.218 X-ZEDAT-Hint: VR To: unlisted-recipients:; (no To-header on input) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org There is no longer an ia64-specific version of the errno.h header below arch/ia64/include/uapi/asm/, so trying to build tools/bpf fails with: CC /usr/src/linux/tools/bpf/bpftool/btf_dumper.o In file included from /usr/src/linux/tools/include/linux/err.h:8, from btf_dumper.c:11: /usr/src/linux/tools/include/uapi/asm/errno.h:13:10: fatal error: ../../../arch/ia64/include/uapi/asm/errno.h: No such file or directory 13 | #include "../../../arch/ia64/include/uapi/asm/errno.h" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. Thus, just remove the inclusion of the ia64-specific errno.h so that the build will use the generic errno.h header on this target which was used there anyway as the ia64-specific errno.h was just a wrapper for the generic header. Fixes: c25f867ddd00 ("ia64: remove unneeded uapi asm-generic wrappers") Signed-off-by: John Paul Adrian Glaubitz --- tools/include/uapi/asm/errno.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/tools/include/uapi/asm/errno.h b/tools/include/uapi/asm/errno.h index 637189ec1ab9..d30439b4b8ab 100644 --- a/tools/include/uapi/asm/errno.h +++ b/tools/include/uapi/asm/errno.h @@ -9,8 +9,6 @@ #include "../../../arch/alpha/include/uapi/asm/errno.h" #elif defined(__mips__) #include "../../../arch/mips/include/uapi/asm/errno.h" -#elif defined(__ia64__) -#include "../../../arch/ia64/include/uapi/asm/errno.h" #elif defined(__xtensa__) #include "../../../arch/xtensa/include/uapi/asm/errno.h" #else -- 2.31.0