Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp30264pxb; Tue, 10 Nov 2020 18:44:44 -0800 (PST) X-Google-Smtp-Source: ABdhPJwD5XsijZG5dUhZ+5zWMwMe6FVNvtPhpOgtPfHUd2jNnHjn7CJAGI7yAAM6rNxJNmR54qIl X-Received: by 2002:aa7:d404:: with SMTP id z4mr24820628edq.334.1605062684073; Tue, 10 Nov 2020 18:44:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605062684; cv=none; d=google.com; s=arc-20160816; b=CjYxafDxePcqoVTSvOS6kenP6RknfroOrCeAyTL3znh/Qo5+pmKVt/QWgU0pxI/1Wc txiITM3rNyyn3aobqJ2iz44dJCELtBvP2osR4FpN3AC0sfChXMB9AisZEvwhpLx5bB5j Yvz//bL2MevrK/kliBnTLuRlF23sLr5yVVqINkYdjXUGBzN35rSoHTLT+x7oF5gYacpn sgw8PCEEqazlXxencCN0TwF5dU9QQ3NFTJxYgipVw/Fg0mNfeLVFYfP5jGmWCv8L8KGy yxd+JJ57BvV17zcmluPo+9AyVKysHsWLKVJHZIpZ3cVMJJXkw4mlnGguO1/pbr4yDJnv tIdA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:from:subject:mime-version:message-id:date :sender:dkim-signature; bh=OUUVYD1R785BEy2RCsP0C8sEZy7udFaGjiORPSK5eA4=; b=qnqn9am8QWZ9JJk032wPcREgq3nKhl4344BjPLVN3Vgsk3aMKKOgPD2uPyXcIah4x5 y6u0c+BGlrtVLss8zsC00idlrLhgfy8s5bTMgXlh1bsq3abdRw3XDX5jqt+7UH5XaPqr gJu+OjaxSkzCc9sprSnIZqP/yRnlu6ElCFFPp3SuUPoisEglXbSSDw4cgts2sxlUS92P TPbRq2hny9tgBe/a+Ky4zTT681yOGOIz0i7Lc26OrXccc74Y17a5l6iUgCcRW6hS/ItS gLzNRU6GgPTCDuspvnePl3sC8FCvR5J+97X6GkeZLocs32O8C16R1U/szNg303i2j+SV Uflw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=YkAD55+o; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id mj25si360129ejb.337.2020.11.10.18.44.18; Tue, 10 Nov 2020 18:44:44 -0800 (PST) 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=@google.com header.s=20161025 header.b=YkAD55+o; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725908AbgKKCl7 (ORCPT + 99 others); Tue, 10 Nov 2020 21:41:59 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34120 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725867AbgKKCl7 (ORCPT ); Tue, 10 Nov 2020 21:41:59 -0500 Received: from mail-yb1-xb4a.google.com (mail-yb1-xb4a.google.com [IPv6:2607:f8b0:4864:20::b4a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3A4DCC0613D1 for ; Tue, 10 Nov 2020 18:41:59 -0800 (PST) Received: by mail-yb1-xb4a.google.com with SMTP id u37so858874ybi.15 for ; Tue, 10 Nov 2020 18:41:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=sender:date:message-id:mime-version:subject:from:to:cc; bh=OUUVYD1R785BEy2RCsP0C8sEZy7udFaGjiORPSK5eA4=; b=YkAD55+oueldtZYQsqMA0UPxz4pQzg/Nc9P3I8Le4/s6jHsNf9FI2vYpk2PbpbG0bT rCWhl4Oyi/1mHNQLYHe8jhYtGwtIF4Cse58JYRutkrEUbsxCxzSlnq3+eqhu4DqNwvDU DS7tZEHYdv8fJN8dZODfbshQurMulab5UuHpbEDX9XTBPehxv5UUUGs1h1hX9XwNsF95 4NBkxwyX003WwNDxOgvGN2hFdDhmDleJzruh9op4yMvMMcl3UlESO6K2Xul+eTGJV9Vv N+z36xrs/6pdtefVwGI4LWQgL0cJ5p/rqo7FPTZ7QGDxvOcbObFXRReNvcRZNoFah6cN B9SQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:message-id:mime-version:subject:from :to:cc; bh=OUUVYD1R785BEy2RCsP0C8sEZy7udFaGjiORPSK5eA4=; b=lO6DATlSemdKzsdtBalcOYVCBuaEzOK7yGLbL+HRHSDhzuIUugcDdVaf5YYGxWmvKl 7p3MuuJ9NAI4MsbAa8N9gCTUHloPDuScqnnSU5PCDJJB5PFCDRNGQRtmTvSp49ZRP25Y hy/w5u4r489dxcP/sSFdXJ81VdnPLl1Ef8KxQ3U03s3uCFmtnVpI5YzxF5Y8J8hN8flO mqTEaAzEocMsmuJu1hHV3Uc1zVj+0/lWqrfGw4RpsQOpeTa7bxOVjyvzpjZnAXcKjhmo YccSL2QdH6i0PLpt0divUK7TbmGc5xS2EbtupPxaWP+/5gLrlRbvsv1gY+GB5jRsedRW e3tw== X-Gm-Message-State: AOAM5328epeg5WGx5ZT2OlWXrwKZvCjjPjlQN6Chhi9RiWXL0yRFM933 1SHH1PwoptAFG11PQAMgzQyhjjp1hwNgCxUQPCo= Sender: "ndesaulniers via sendgmr" X-Received: from ndesaulniers1.mtv.corp.google.com ([2620:15c:211:202:f693:9fff:fef4:4d25]) (user=ndesaulniers job=sendgmr) by 2002:a25:b445:: with SMTP id c5mr29391620ybg.355.1605062518302; Tue, 10 Nov 2020 18:41:58 -0800 (PST) Date: Tue, 10 Nov 2020 18:41:40 -0800 Message-Id: <20201111024140.1483879-1-ndesaulniers@google.com> Mime-Version: 1.0 X-Mailer: git-send-email 2.29.2.222.g5d2a92d10f8-goog Subject: [PATCH] Revert "dm cache: fix arm link errors with inline" From: Nick Desaulniers To: Alasdair Kergon , Mike Snitzer Cc: Rob Herring , Mikulas Patocka , clang-built-linux@googlegroups.com, Nick Desaulniers , dm-devel@redhat.com, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This reverts commit 43aeaa29573924df76f44eda2bbd94ca36e407b5. Since commit 0bddd227f3dc ("Documentation: update for gcc 4.9 requirement") the minimum supported version of GCC is gcc-4.9. It's now safe to remove this code. Link: https://github.com/ClangBuiltLinux/linux/issues/427 Signed-off-by: Nick Desaulniers --- drivers/md/dm-cache-target.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/md/dm-cache-target.c b/drivers/md/dm-cache-target.c index 9644424591da..4bc453f5bbaa 100644 --- a/drivers/md/dm-cache-target.c +++ b/drivers/md/dm-cache-target.c @@ -712,10 +712,6 @@ static bool block_size_is_power_of_two(struct cache *cache) return cache->sectors_per_block_shift >= 0; } -/* gcc on ARM generates spurious references to __udivdi3 and __umoddi3 */ -#if defined(CONFIG_ARM) && __GNUC__ == 4 && __GNUC_MINOR__ <= 6 -__always_inline -#endif static dm_block_t block_div(dm_block_t b, uint32_t n) { do_div(b, n); -- 2.29.2.222.g5d2a92d10f8-goog