Message ID | 1445875918-14777-6-git-send-email-fabio.estevam@freescale.com |
---|---|
State | Superseded |
Delegated to: | Jagannadha Sutradharudu Teki |
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id BA893140D8E for <incoming@patchwork.ozlabs.org>; Tue, 27 Oct 2015 03:13:19 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 469CC4B622; Mon, 26 Oct 2015 17:12:56 +0100 (CET) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BBxXiIEfH5yn; Mon, 26 Oct 2015 17:12:56 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id E96334B6A8; Mon, 26 Oct 2015 17:12:50 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 618A94B66A for <u-boot@lists.denx.de>; Mon, 26 Oct 2015 17:12:37 +0100 (CET) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id OmmE2ECvzdOP for <u-boot@lists.denx.de>; Mon, 26 Oct 2015 17:12:37 +0100 (CET) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1on0116.outbound.protection.outlook.com [157.56.110.116]) by theia.denx.de (Postfix) with ESMTPS id 16D114B663 for <u-boot@lists.denx.de>; Mon, 26 Oct 2015 17:12:23 +0100 (CET) Received: from BY2PR03CA050.namprd03.prod.outlook.com (10.141.249.23) by BY1PR0301MB1304.namprd03.prod.outlook.com (10.161.206.153) with Microsoft SMTP Server (TLS) id 15.1.306.13; Mon, 26 Oct 2015 16:12:21 +0000 Received: from BN1AFFO11FD021.protection.gbl (2a01:111:f400:7c10::144) by BY2PR03CA050.outlook.office365.com (2a01:111:e400:2c5d::23) with Microsoft SMTP Server (TLS) id 15.1.306.13 via Frontend Transport; Mon, 26 Oct 2015 16:12:21 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=freescale.com; freescale.mail.onmicrosoft.com; dkim=none (message not signed) header.d=none; freescale.mail.onmicrosoft.com; dmarc=none action=none header.from=freescale.com; Received-SPF: Fail (protection.outlook.com: domain of freescale.com does not designate 192.88.168.50 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.168.50; helo=tx30smr01.am.freescale.net; Received: from tx30smr01.am.freescale.net (192.88.168.50) by BN1AFFO11FD021.mail.protection.outlook.com (10.58.52.81) with Microsoft SMTP Server (TLS) id 15.1.306.13 via Frontend Transport; Mon, 26 Oct 2015 16:12:20 +0000 Received: from fabio-Latitude-E6410.am.freescale.net (fabio-Latitude-E6410.am.freescale.net [10.29.244.137]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id t9QGC9pH021655; Mon, 26 Oct 2015 09:12:18 -0700 From: Fabio Estevam <fabio.estevam@freescale.com> To: <trini@konsulko.com> Date: Mon, 26 Oct 2015 14:11:48 -0200 Message-ID: <1445875918-14777-6-git-send-email-fabio.estevam@freescale.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1445875918-14777-1-git-send-email-fabio.estevam@freescale.com> References: <1445875918-14777-1-git-send-email-fabio.estevam@freescale.com> X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1; BN1AFFO11FD021; 1:hG6dDRLOpG3h4ILUSAcy9Kin2dY1uErH8erUayTaO2Ev5QZk93a0M0CO23gcM08wWkBRR5VNEMCraEQnykxhHbYH6PtM6m1B1GzIoQiZflnRoQnMzME6fsm/JawQV85T1W3tr3JfcNKE2VgdBCQEc3UVvH4kTDoUzVhk57DCpXFGq7v/0aCHGlfeXR03ftG9srwuh2fkYn2Uv6OkK+XPts48Z2v8CIFBEIiTVYQDgCnlu9lOPTF8hk7rR6SNIGxkJqdDE9+5OyCA2WiaNXj0Vrw1qEWAJID9HIfVgJWawCTLWNfgcmWAPjeMpUq7594sx74wm82xStKJ5jkvISUV6g/xsz/WSfEOPFiAgtvP5/gOihDORSHwTXBbr9pZH/xg4jNDy8L4rbLvdQs2CMCsCA== X-Forefront-Antispam-Report: CIP:192.88.168.50; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(2980300002)(1110001)(1109001)(339900001)(189002)(199003)(107886002)(50226001)(110136002)(81156007)(86362001)(5001960100002)(97736004)(229853001)(47776003)(189998001)(105606002)(5007970100001)(2351001)(19580395003)(85426001)(19580405001)(87936001)(106466001)(92566002)(76176999)(33646002)(6806005)(11100500001)(104016004)(5008740100001)(5003940100001)(50986999)(48376002)(50466002)(36756003)(77096005)(4001430100002)(2950100001)(41533002); DIR:OUT; SFP:1102; SCL:1; SRVR:BY1PR0301MB1304; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; MIME-Version: 1.0 X-Microsoft-Exchange-Diagnostics: 1; BY1PR0301MB1304; 2:pifm15iF5fSpi/sNtVejXNo2j5jRgZUQhxYkvBaNCgi4GzWZYO6m65yPtBNxwAApQthQXI9cwkWggqx9wXlwXwcr7J3zPmlxXKjqaqUOGCk/HjbN0mM0rW0e/utDLMjrLsECqj/lPvd9S6riKtSqmxrV6Vl3mWaeb36uVwuaMX4=; 3:lyHUqr55xKSAJksT+GxN1sTEL+yWDHF0rHQkITQcUk8bvFAiMN7azLCQeEgRrF7U8ee/+B2ojoieUp4fOIdUJ0LSlTgaBc4oLNCupcO42qq8FLevo1f9iLwmSr9GZRWLcPNQZwRHz0F6uE6qdvAhDC2jDS9n2TFeunHKE0ew78NnT1kFzqw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xOtTccVlg8J/e6d1+mSK9HAIfDsT/N7cgJMhLosKLgmFqNRhcyBOvQjKOIWYkVhRSsekXwBWPW4Ip3F/T87H9jkd X-Microsoft-Antispam-PRVS: <BY1PR0301MB1304415587A0A0434DBA2613E9230@BY1PR0301MB1304.namprd03.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:(101931422205132); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(520078)(5005006)(8121501046)(3002001)(102215026); SRVR:BY1PR0301MB1304; BCL:0; PCL:0; RULEID:; SRVR:BY1PR0301MB1304; X-Forefront-PRVS: 0741C77572 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY1PR0301MB1304; 23:vtGXKDkf8sGfYwCVAWMtQnwfYauGXd2R7hBe5Ae?= =?us-ascii?Q?hrQ3exb/Mv4gN5/P73Bw5usIHKsMyD5M0Seyj3xu9Av/G9uvZyPtOfQIJyDF?= =?us-ascii?Q?5TeZN6e0GTQGKj7LZ6vYbzDVV+hzjaEWChXBHvBqBcbeQJK1CBsDH58s84Qk?= =?us-ascii?Q?677FngSQpk1a2KOJtvUS9K0ZNE8JBfC77WC7fczm6VeC0FSSppobrL9v+8WW?= =?us-ascii?Q?pjcqGaydF7CSk+yn8LTP6iRTq+O54mX7TzwM46CGtV5rPE575Hnh2O1GPes+?= =?us-ascii?Q?rzZlvZZ1vv+jaPEsSeRzF7z6qCBygoOZVjCpNya+zKQrK8hwwXQHOuAblDTF?= =?us-ascii?Q?wEP9dWlPngm546WKC2r19ryildmimcxnmzos/uIQJYjmO/ViAqITQaDK1zAq?= =?us-ascii?Q?OXTenemE0h8ylIbaOGzC0WcH+ZQ/bVt8knTaXHAzZxMgrbgPU0rRyt3UhEJX?= =?us-ascii?Q?nliQ5JCr3l6X0KgFZxAc0anNwpcw2mNS+HaqUWiQ8Nm5leeH9q6jJMOCiUoI?= =?us-ascii?Q?OM7KXgYnV4T49EF7LwZyfRHvIXm8DQEk29L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0f7W5gDdQ2cEhMJSXVYVX2Phb3pvo8QR9ro/Ngg== X-OriginatorOrg: freescale.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Oct 2015 16:12:20.0544 (UTC) X-MS-Exchange-CrossTenant-Id: 710a03f5-10f6-4d38-9ff4-a80b81da590d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=710a03f5-10f6-4d38-9ff4-a80b81da590d; Ip=[192.88.168.50]; Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY1PR0301MB1304 Cc: jteki@openedev.com, u-boot@lists.denx.de, Fabio Estevam <fabio.estevam@freescale.com>, otavio@ossystems.com.br Subject: [U-Boot] [PATCH v4 06/16] blackfin: bitops: Use the generic bitops headers X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.15 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <http://lists.denx.de/mailman/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: <http://lists.denx.de/mailman/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> |
On 26 October 2015 at 21:41, Fabio Estevam <fabio.estevam@freescale.com> wrote: > The generic bitops headers are required when calling logarithimic > functions, such as ilog2(). > > Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> > Reviewed-by: Tom Rini <trini@konsulko.com> > Reviewed-by: Heiko Schocher <hs@denx.de> > --- Reviewed-by: Jagan Teki <jteki@openedev.com> thanks!
diff --git a/arch/blackfin/include/asm/bitops.h b/arch/blackfin/include/asm/bitops.h index cd7e356..6cde6db 100644 --- a/arch/blackfin/include/asm/bitops.h +++ b/arch/blackfin/include/asm/bitops.h @@ -15,6 +15,10 @@ #include <asm/byteorder.h> #include <asm/system.h> +#include <asm-generic/bitops/fls.h> +#include <asm-generic/bitops/__fls.h> +#include <asm-generic/bitops/fls64.h> +#include <asm-generic/bitops/__ffs.h> #ifdef __KERNEL__ /*