Message ID | 20180427152020.12920-8-pure.logic@nexus-software.ie |
---|---|
State | Superseded |
Delegated to: | Tom Rini |
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=nexus-software.ie Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=nexus-software-ie.20150623.gappssmtp.com header.i=@nexus-software-ie.20150623.gappssmtp.com header.b="uIfM+eH/"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 40Xd6c2gNhz9s0w for <incoming@patchwork.ozlabs.org>; Sat, 28 Apr 2018 01:25:28 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id E337AC22210; Fri, 27 Apr 2018 15:23:08 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id BFDFBC22229; Fri, 27 Apr 2018 15:20:57 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 1D8BAC221F0; Fri, 27 Apr 2018 15:20:35 +0000 (UTC) Received: from mail-wm0-f68.google.com (mail-wm0-f68.google.com [74.125.82.68]) by lists.denx.de (Postfix) with ESMTPS id ECED3C2221E for <u-boot@lists.denx.de>; Fri, 27 Apr 2018 15:20:30 +0000 (UTC) Received: by mail-wm0-f68.google.com with SMTP id n10so3567648wmc.1 for <u-boot@lists.denx.de>; Fri, 27 Apr 2018 08:20:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nexus-software-ie.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=eQHaaXeniLN6i+ciR8jfVLBJkuLO4ZdNgFbwSDm/IiI=; b=uIfM+eH/C5ao+dST+Wd3XxEzmbR+gsY9Tvy0n372zATP2JJ+/u/W7rWDiojjnAiq1P T44WoscalMRCw9WN45JRSlLtX/bSoD9V+wzXzSLVv5s0Z2XLturyiIb7/JZnLAYLVd7P JBZnU7XthEVuIXTrpcE0/06TwRqK0VgK2Aum+XMak5eAGLXCsgcb0D9HFGbtIUY+P0F1 J4mazD7QCO7FoTr6OCcayYq+dkpBVKV5hScNCl4XI9z1RLyLdzWew1ftEYMSe6iGB28p m/iaZlgTBXmSS3G1x9N5gZ91uDsfiWJSUtrgzvW+1AiBZ8wN6p14ZlNdnlZ1NBUhRY4W Kstg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=eQHaaXeniLN6i+ciR8jfVLBJkuLO4ZdNgFbwSDm/IiI=; b=fg4Usl9lyGuypHG3zJdYlG939PyPE0ep0gqaRXkr3l9aEQ89rt3S+TnTPbqu47oBR8 8/UQItSednXxMPy7F53PEseId/DHWm5u2GYaSuNaCQhUv5xIoiltTOd3fbg/1UfixOA6 mlcRnfJ9N4EbGAA5BoZ+8bBe8J2h73tZV0grS9oZ71teAsIa6lOjAnZ/CoDRzRwWsVmp ZNFEotPCMs7fEh3mEVOc4NAvHn0wZZ8e9n/M0itas4WrgvfNbcI3eNtmtsvhlWdKVCHJ kpUJIAWziiiIvOXAGrPgG/2t7cQ3ugQsAky1ASJiZiXe9kpOfWWDNViKBybVjJ8sqwIC 9qzw== X-Gm-Message-State: ALQs6tAAH9BRcb6BsqC9r1M6uHkjlx6Zu0kaOzhxFb0gIOdeyhFCLxpg 1eeVDZCEAhauWL5I2rxR51noqQDh X-Google-Smtp-Source: AB8JxZqxInvg7PhMfu76yyAcWp7WXrrlI2P8UYXGhg3JKW5ZsARKSvdPlvceqWsJimTPBR65a4e56Q== X-Received: by 2002:a50:8833:: with SMTP id b48-v6mr3979768edb.274.1524842430394; Fri, 27 Apr 2018 08:20:30 -0700 (PDT) Received: from event-horizon.net ([109.255.42.2]) by smtp.gmail.com with ESMTPSA id j2-v6sm983198edp.22.2018.04.27.08.20.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 27 Apr 2018 08:20:29 -0700 (PDT) From: Bryan O'Donoghue <pure.logic@nexus-software.ie> To: u-boot@lists.denx.de Date: Fri, 27 Apr 2018 16:20:18 +0100 Message-Id: <20180427152020.12920-8-pure.logic@nexus-software.ie> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180427152020.12920-1-pure.logic@nexus-software.ie> References: <20180427152020.12920-1-pure.logic@nexus-software.ie> Cc: Macpaul Lin <macpaul@andestech.com> Subject: [U-Boot] [PATCH v2 7/9] nds32: Define PLATFORM__CLEAR_BIT for generic_clear_bit() X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <http://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> |
Series |
Fixup set_bit/clear_bit definition and usage
|
expand
|
diff --git a/arch/nds32/include/asm/bitops.h b/arch/nds32/include/asm/bitops.h index ecd0032664..f1cdcf3e65 100644 --- a/arch/nds32/include/asm/bitops.h +++ b/arch/nds32/include/asm/bitops.h @@ -61,6 +61,8 @@ static inline void __clear_bit(int nr, void *addr) local_irq_restore(flags); } +#define PLATFORM__CLEAR_BIT + extern void change_bit(int nr, void *addr); static inline void __change_bit(int nr, void *addr)
nds2 bitops.h provides a __clear_bit() but does not define PLATFORM__CLEAR_BIT as a result generic_clear_bit() is used instead of the architecturally provided __clear_bit(). Hook the arch __clear_bit() now. Signed-off-by: Bryan O'Donoghue <pure.logic@nexus-software.ie> Cc: Macpaul Lin <macpaul@andestech.com> --- arch/nds32/include/asm/bitops.h | 2 ++ 1 file changed, 2 insertions(+)