Message ID | 20180427152020.12920-7-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="agd5B2Mm"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 40Xd7L5dNkz9s0w for <incoming@patchwork.ozlabs.org>; Sat, 28 Apr 2018 01:26:06 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id 7AC5CC2223F; Fri, 27 Apr 2018 15:22:34 +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 4CA75C221C5; Fri, 27 Apr 2018 15:20:47 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 18ECDC22227; Fri, 27 Apr 2018 15:20:33 +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 08DD8C2221A for <u-boot@lists.denx.de>; Fri, 27 Apr 2018 15:20:30 +0000 (UTC) Received: by mail-wm0-f66.google.com with SMTP id t11so3282510wmt.0 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=F6SlZqOSc0hK0DZ1Yo8xxh3SCq2dsACcN0WjVhWkLGQ=; b=agd5B2MmWYjC/QsXICQLqF4+64OfPAZB1NW3h+L0ibpnEEMAx7M5V+KbNQZbCtYu+b Iaq0tfWFrj3y7uMQp5qeQrUqiRY3mZ7nVIJTwV9maUPh6KmkXHBRgMBFeAkj659UQ6Vk u017ECIywb/mEFkeRLOk02xW9Sp2NALd02IJOw996TWgSyi6qW/zjWsKgwPJDT85VKpb v3gw1+WsNO3RuljklwSkxQf3WMexSxIZEN3egY0vEEoLiAL0luyarvbvidDZeYosMdAg FQo/7yFS3VKkH7o02LmL/X7KroZH3HkXbENTIWY3ouDbfi8qep1GPNhhjwb6DDPNFWQz iTiA== 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=F6SlZqOSc0hK0DZ1Yo8xxh3SCq2dsACcN0WjVhWkLGQ=; b=ANXTBAlKzb64UkR+Xwxfn1+EpGw63F/rcWs/5FjmBs0o8OuPBgFPFfaqqogQFoHk13 VNCJkSZWFX/0ITb8JXrKcJD1Fe5ptE4Wy1ap3F/YQ9vVreNPTzrJgLkysKotgRhmlBJ+ pIi4g1GFA7AtgjzbIu42Bjx++3lfN9X1UNduy2By32hO8MkXRoy8QLp9rjZSXdihfXrq /VTOSsorrdUccwrfFUrlmAQGHuWh51BuCiZu91SnjSw2O0fbYe9vsyXBiDWc9/41XaPH H0dfb5Tx/SCvAqrvv2tfupugTgCfEfO5LjpcH1oyshD4NIPosKdKbhXd4T3uSQ3NrA9u B2zA== X-Gm-Message-State: ALQs6tDOz+OksWrZUZnrUEANjTHUFGTeMtA1IqaGa+xtw6G5ev9VomwM tjN4Ve0p8wczGSYv4o3FUOqRCP4q X-Google-Smtp-Source: AB8JxZo5rvbXvy4DwYwDk2br0W/fHzVX6T8/9NUfERGOAuMeBHmAjO5MVwhns3e9n2a0vev1wJ2ZVQ== X-Received: by 2002:a50:ce12:: with SMTP id y18-v6mr3880332edi.172.1524842429598; Fri, 27 Apr 2018 08:20:29 -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.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 27 Apr 2018 08:20:28 -0700 (PDT) From: Bryan O'Donoghue <pure.logic@nexus-software.ie> To: u-boot@lists.denx.de Date: Fri, 27 Apr 2018 16:20:17 +0100 Message-Id: <20180427152020.12920-7-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 6/9] nds32: Define PLATFORM__SET_BIT for generic_set_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 7ee37c37bc..ecd0032664 100644 --- a/arch/nds32/include/asm/bitops.h +++ b/arch/nds32/include/asm/bitops.h @@ -44,6 +44,8 @@ static inline void __set_bit(int nr, void *addr) *a |= mask; } +#define PLATFORM__SET_BIT + extern void clear_bit(int nr, void *addr); static inline void __clear_bit(int nr, void *addr)
nds32 bitops.h provides a __set_bit() but does not define PLATFORM__SET_BIT as a result generic_set_bit() is used instead of the architecturally provided __set_bit(). Hook the arch __set_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(+)