Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp315035pxb; Wed, 6 Oct 2021 05:42:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyxO+iBtG9UrIxWXsR+Ryb/Pk7unWg8i6vHOCQcurv2IQhWQ2sOOXHYzZXCOWw7iqC+7MmT X-Received: by 2002:a17:907:2bec:: with SMTP id gv44mr21201879ejc.523.1633524129338; Wed, 06 Oct 2021 05:42:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633524129; cv=none; d=google.com; s=arc-20160816; b=XQjn1PlUCDpYjNvFAfTuredow3IzakbmohZGT3vAwYqcxdxtFOMN7pdOW6OPm23MFL zSAa2OFIJrpOfl6zvlYrO8vAU208FelesGpZCZu0PtqUotiX3dSnaOvlxRdhvzkacGaY osSkCruUjY38+Suez09T9ct8ZVUAeMYqG5L06ygHVR2zNLz5zmvFXz1Fbui8yzbgsjQL X1png55jO+Vxu5lGv3Tc6f4VnqJkpt9144g7b/1Yyu0ya3HE2OTNt3R3V/BnTM5S+J/m BzhuwkL+CD0VAafHXI6s4Rg2xgeE1ATSN5JE2ogYhlzcPYJeMRwMmjxldBsr7/9bUcu0 6CVA== 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 :message-id:date:subject:cc:to:from; bh=MRh+HwwVzW1XlG95zHX/T2mifPpTBtfLQWVr77C2Y2I=; b=KcvjRqrF9xTLx5w/bHR0xbNSJr29wV3nmlfwrDI416VzSXlJ/YozR5XImXr12CqYFh iOkdnO8V6XPcchIrRgyvSeR5rKigpuJVt6QhIlmQqh839UT3mCNIuWHYEluhWi5uomgS +ivZ2y8EXHVLutPCHp4rvn99EWLLPILwNxGHwG0JfermcgMBun67VCav2I7MrPGAB8zm MDhCa3B4OmS1uk/LrCLfD/QxTrNBp1clwgeN6wB+6RlgHUQruW9cwRSK2AHOOOTMf5Nv gX/+hMQ6R+s2qcB3mFfvrJ/Jgfk33lSFyQV5ABu0sypbJOHrk9BdZFOu8XSnQ5Dgzg9N 9Dew== 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 b13si36637771ede.314.2021.10.06.05.41.44; Wed, 06 Oct 2021 05:42:09 -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 S231259AbhJFMmT (ORCPT + 99 others); Wed, 6 Oct 2021 08:42:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40352 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231207AbhJFMmS (ORCPT ); Wed, 6 Oct 2021 08:42:18 -0400 Received: from albert.telenet-ops.be (albert.telenet-ops.be [IPv6:2a02:1800:110:4::f00:1a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5543AC061749 for ; Wed, 6 Oct 2021 05:40:26 -0700 (PDT) Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed20:dcc1:3235:c5c1:b8e0]) by albert.telenet-ops.be with bizsmtp id 2cgP2600P1CcfcG06cgPbz; Wed, 06 Oct 2021 14:40:24 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1mY6Df-002UvT-Fv; Wed, 06 Oct 2021 14:40:23 +0200 Received: from geert by rox.of.borg with local (Exim 4.93) (envelope-from ) id 1mY6Df-0064GA-54; Wed, 06 Oct 2021 14:40:23 +0200 From: Geert Uytterhoeven To: "H. Peter Anvin" Cc: linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH] compiler-intel: Remove duplicate RELOC_HIDE() Date: Wed, 6 Oct 2021 14:40:22 +0200 Message-Id: <691ab4fcf6b6b69d1db91b94d404cb80fca36f6c.1633523760.git.geert+renesas@glider.be> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The RELOC_HIDE() implementation for the Intel compiler is identical to the generic version in , so the former can just be removed. Signed-off-by: Geert Uytterhoeven --- Not even compile-tested. --- include/linux/compiler-intel.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/include/linux/compiler-intel.h b/include/linux/compiler-intel.h index b17f3cd18334df3d..efc8fafb58f595b2 100644 --- a/include/linux/compiler-intel.h +++ b/include/linux/compiler-intel.h @@ -16,11 +16,6 @@ #define barrier() __memory_barrier() #define barrier_data(ptr) barrier() -#define RELOC_HIDE(ptr, off) \ - ({ unsigned long __ptr; \ - __ptr = (unsigned long) (ptr); \ - (typeof(ptr)) (__ptr + (off)); }) - /* This should act as an optimization barrier on var. * Given that this compiler does not have inline assembly, a compiler barrier * is the best we can do. -- 2.25.1