Message ID | 20180427150848.12075-2-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="B4YkLdu2"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 40Xcmb3vgjz9s0w for <incoming@patchwork.ozlabs.org>; Sat, 28 Apr 2018 01:09:51 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id 41C1DC22216; Fri, 27 Apr 2018 15:09:12 +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 0F1B5C22112; Fri, 27 Apr 2018 15:08:56 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id A2758C21E85; Fri, 27 Apr 2018 15:08:52 +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 3D293C21E79 for <u-boot@lists.denx.de>; Fri, 27 Apr 2018 15:08:52 +0000 (UTC) Received: by mail-wm0-f66.google.com with SMTP id n10so3500406wmc.1 for <u-boot@lists.denx.de>; Fri, 27 Apr 2018 08:08:52 -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=ZAV4EFQshYXgYrVzbAjNb9AH59O20Nis2LkdmYU319U=; b=B4YkLdu2Xr3HwwdcN8g+KfGMGzI3r31u2z2ajQVO/n5KxffHluyCTnvcCzQR9Yj4la bHNwP+No9qIO2GPrvjA+SWjStXoDx4HcEqJMfDc2ZfCUUusbw8aXvaKOy1yjIr7o0YGB b1Mt1i/w9Bi05n0vqFyKShnRIZ61ad2R18u4e4vnfX6Ao1vykh6ftAft3nB2WNU1l4CS GojrgYFddwiwNgOLU/+wXu6YX4fO1cmqm99ljhQSflwdS+1lei5Dx3wDIP8pTQO9l/V1 rZKoAuB6nDXvl9zrcj3y75V73uOn71CyO8BMm1BFCEGy/vTHong9Yti/x+RhEaRNzAin JWyw== 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=ZAV4EFQshYXgYrVzbAjNb9AH59O20Nis2LkdmYU319U=; b=s+yYDB959Ftxo92iCd9NfpifH6jY1LkwKlLW0s14/0pucuLsfi9ylsZYtQO9wNMauK iiaGugxPVZqkdTMB6OVT/cYhluYsFnTvthnOq9ZaE0w4yx4fF+VIuXi/BXuPgzG4mUNQ ZAzqnvkxtg98GzwAhrhLH3jkJ/i5Q9Xhq68MLNYYBnau/Vl6Uav8/4hrx1Kfr7eXY47h MlPJFcRNE3PLuKDLaHWRvTciYQAva3FuN5IZbThoB9gypRdiSNevXGZyFUhyTKbF3Fwf Y/Rk61qLfu8IOFwEy+2DjLdxiL6PdUEVueODw9SMPZgxjoXRbM2AMy+Oo8dtEAlIW/cA QIew== X-Gm-Message-State: ALQs6tD5N2KajR7oXxC0UldhzxBg7y/0+q071YVJrMu+4tbhvrWPKofC rZ+Gi7sOahHHAwOcndK5SYb4SeUg X-Google-Smtp-Source: AB8JxZq1EdNvDWq4qBbA/xoVlun4lAO1F/Qy5hh9CVSCZtV866ku+q2C35gg5ge5cgBBGEE5WRgLnA== X-Received: by 2002:a50:9e28:: with SMTP id z37-v6mr3846907ede.246.1524841731676; Fri, 27 Apr 2018 08:08:51 -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.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 27 Apr 2018 08:08:51 -0700 (PDT) From: Bryan O'Donoghue <pure.logic@nexus-software.ie> To: u-boot@lists.denx.de Date: Fri, 27 Apr 2018 16:08:40 +0100 Message-Id: <20180427150848.12075-2-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 1/9] x86: 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/x86/include/asm/bitops.h b/arch/x86/include/asm/bitops.h index f97dc66439..196fcf9d3f 100644 --- a/arch/x86/include/asm/bitops.h +++ b/arch/x86/include/asm/bitops.h @@ -61,6 +61,8 @@ static __inline__ void __set_bit(int nr, volatile void * addr) :"Ir" (nr)); } +#define PLATFORM__SET_BIT + /** * clear_bit - Clears a bit in memory * @nr: Bit to clear
x86 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: Simon Glass <sjg@chromium.org> Cc: Bin Meng <bmeng.cn@gmail.com> --- arch/x86/include/asm/bitops.h | 2 ++ 1 file changed, 2 insertions(+)