Message ID | 20180427150848.12075-6-pure.logic@nexus-software.ie |
---|---|
State | Superseded |
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="lQb63U0V"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 40Xcrf4ZCtz9s0w for <incoming@patchwork.ozlabs.org>; Sat, 28 Apr 2018 01:13:22 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id 4CCF1C22215; Fri, 27 Apr 2018 15:10:25 +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 5D660C22202; Fri, 27 Apr 2018 15:09:13 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 9CCF2C22203; Fri, 27 Apr 2018 15:09:02 +0000 (UTC) Received: from mail-wm0-f66.google.com (mail-wm0-f66.google.com [74.125.82.66]) by lists.denx.de (Postfix) with ESMTPS id 41BC7C22193 for <u-boot@lists.denx.de>; Fri, 27 Apr 2018 15:08:59 +0000 (UTC) Received: by mail-wm0-f66.google.com with SMTP id j5so3503784wme.5 for <u-boot@lists.denx.de>; Fri, 27 Apr 2018 08:08:59 -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=VGNAOdc8iOemQj/usxOsGphlkT4cBybgmIV8RIwQWD8=; b=lQb63U0VqsP88Ul7xigu5n+Bn6omGymCCboqbabEfFTnXuuxKb7wh5c4SRtodVMqyT xUgf27J1XOGUWDkQAyFFmnK4w/uVzo1D6HbdAhLu/7EE9KKGHDxiO2c9Qgyh4JxVK5mT 1kcPe19H+GZEU17ei3sz2E0t1bPdDisleiSNSjpH9zNYc2nOO8z/vnFZ6js9+TuBAgU5 sKly2R179x169UCEXiShOnS3SgzBj/Oev6IFoLKMgbuD6Aa+mIfGPIQ2cCxN6ixDJIkN GZRj8ZYuGuObr65em4kJRmDxKH5fNVum/iUsBSGiJ+N0htjnBaIFNW4jaCZZmiOfOkjx uh4g== 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=VGNAOdc8iOemQj/usxOsGphlkT4cBybgmIV8RIwQWD8=; b=DfTOyyPZI3YnHwcDp4FgKNqwStbAyD2VWb6qq4FfMzqjauK1SigiGwEudFS4z4T/Lm RvYWk1snGtpn863e8JqwZsZXS2RqMedsbATMKVadzYtt9golzfEmQeinsyD3XYWFWtcs /gofkgzuw41BFG36Ui/xW+GkIlkWyU5mQZ+5VraXQuc0ZdsRiPh0+Nn+ShCdt0gw3qo1 narzAe+2dNn4ZaTAdUqV2MTJSoogMmuMb4ZtuiWEHZlkzPAml+FpwG6nudN/LxLPFGyQ Jv3n/JQIIN6+zOyCzehotH6tE9+WnmtBZgMWVdMxhs55AYUsDY+gPD6DM+SNbbb1nFHz V1yw== X-Gm-Message-State: ALQs6tB/qwqiH20H6kBWtWTvM6JpP94BOTh5h+NZ8RMZO3rVZknFQDXv J1EFfYWi0pP8GGPGRdV1+30/CUDu X-Google-Smtp-Source: AB8JxZrXKC0SVJPVenviw7hYZEDU/Cb49c+wBEkVNelz1ej94m5DlwBqNfV3Cboqx4dAySs3A47knQ== X-Received: by 2002:a50:84e9:: with SMTP id 96-v6mr3836377edq.235.1524841738738; Fri, 27 Apr 2018 08:08:58 -0700 (PDT) Received: from event-horizon.net ([109.255.42.2]) by smtp.gmail.com with ESMTPSA id d17-v6sm1041063ede.65.2018.04.27.08.08.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 27 Apr 2018 08:08:58 -0700 (PDT) From: Bryan O'Donoghue <pure.logic@nexus-software.ie> To: u-boot@lists.denx.de Date: Fri, 27 Apr 2018 16:08:44 +0100 Message-Id: <20180427150848.12075-6-pure.logic@nexus-software.ie> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180427150848.12075-1-pure.logic@nexus-software.ie> References: <20180427150848.12075-1-pure.logic@nexus-software.ie> Subject: [U-Boot] [PATCH 5/9] nios2: : 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/nios2/include/asm/bitops/non-atomic.h b/arch/nios2/include/asm/bitops/non-atomic.h index 9dd9d923e1..f746819b43 100644 --- a/arch/nios2/include/asm/bitops/non-atomic.h +++ b/arch/nios2/include/asm/bitops/non-atomic.h @@ -30,6 +30,8 @@ static inline void __clear_bit(int nr, volatile unsigned long *addr) *p &= ~mask; } +#define PLATFORM__CLEAR_BIT + /** * __change_bit - Toggle a bit in memory * @nr: the bit to change
nios2 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: Thomas Chou <thomas@wytron.com.tw> --- arch/nios2/include/asm/bitops/non-atomic.h | 2 ++ 1 file changed, 2 insertions(+)