Message ID | 1446734622-5100-7-git-send-email-fabio.estevam@freescale.com |
---|---|
State | Accepted |
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 Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 4C8FB140311 for <incoming@patchwork.ozlabs.org>; Fri, 6 Nov 2015 01:45:45 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 9F07F4BC6A; Thu, 5 Nov 2015 15:44:48 +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 yL9hi1vlNNAW; Thu, 5 Nov 2015 15:44:48 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 8FCB94BBEB; Thu, 5 Nov 2015 15:44:24 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 5A1394BC1A for <u-boot@lists.denx.de>; Thu, 5 Nov 2015 15:44:17 +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 Hmpp9rQKM2YX for <u-boot@lists.denx.de>; Thu, 5 Nov 2015 15:44:17 +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-bn1bon0146.outbound.protection.outlook.com [157.56.111.146]) by theia.denx.de (Postfix) with ESMTPS id 0E7F04BB70 for <u-boot@lists.denx.de>; Thu, 5 Nov 2015 15:44:03 +0100 (CET) Received: from DM2PR03CA0005.namprd03.prod.outlook.com (10.141.96.15) by BY1PR0301MB1301.namprd03.prod.outlook.com (10.161.206.150) with Microsoft SMTP Server (TLS) id 15.1.312.18; Thu, 5 Nov 2015 14:44:00 +0000 Received: from BY2FFO11OLC014.protection.gbl (2a01:111:f400:7c0c::175) by DM2PR03CA0005.outlook.office365.com (2a01:111:e400:2428::15) with Microsoft SMTP Server (TLS) id 15.1.318.15 via Frontend Transport; Thu, 5 Nov 2015 14:44:00 +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 BY2FFO11OLC014.mail.protection.outlook.com (10.1.15.48) with Microsoft SMTP Server (TLS) id 15.1.325.5 via Frontend Transport; Thu, 5 Nov 2015 14:43:59 +0000 Received: from fabio-Latitude-E6410.am.freescale.net (fabio-Latitude-E6410.am.freescale.net [10.29.244.204]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id tA5Ehng6021219; Thu, 5 Nov 2015 07:43:57 -0700 From: Fabio Estevam <fabio.estevam@freescale.com> To: <jteki@openedev.com> Date: Thu, 5 Nov 2015 12:43:28 -0200 Message-ID: <1446734622-5100-7-git-send-email-fabio.estevam@freescale.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1446734622-5100-1-git-send-email-fabio.estevam@freescale.com> References: <1446734622-5100-1-git-send-email-fabio.estevam@freescale.com> X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11OLC014; 1:Vfqh1MRGWKI2yuk1RFUM1l0O4F/iK3sG8WVkMXUUrvIgL03Hm0GG1pYLh8gEbL+GJY7PFyCkUOLDDewpwl6vZ1ryunLDd1mgbzBAcrwa22ny1EKBtxmGIqPIW8aoQM2Fz/aQKsfTiFyBgct/LAOYmbAQ/PW6a9ohGNP5/SIvlRGT9tV9KtrE3I66suXRhNrXczXcdcIN2Rbijs5rKpJcRiAAKVf8AzZpam0BIeTL76SO5JagwPdkHlp+sC3uc0kz15g3CuGlG1MqsiRNjH0Eiohtb9zqLuH+DH7RcsPFxqX35d2I+nwtzTGqV4pDyUposg1S740VbjWm27OHTJZmVAI7X9i555yw3nviMAJJBmmSxR+80r/CZEkq9rLxpdbpcpEmgaFFfA8s+lYGUGE8hg== X-Forefront-Antispam-Report: CIP:192.88.168.50; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(2980300002)(1110001)(1109001)(339900001)(199003)(189002)(5007970100001)(189998001)(2950100001)(5001960100002)(107886002)(110136002)(77096005)(5003940100001)(81156007)(97736004)(4001430100002)(33646002)(50986999)(87936001)(76176999)(50226001)(85426001)(86362001)(92566002)(229853001)(6806005)(106466001)(105606002)(36756003)(11100500001)(104016004)(47776003)(2351001)(48376002)(19580405001)(5008740100001)(19580395003)(50466002)(41533002); DIR:OUT; SFP:1102; SCL:1; SRVR:BY1PR0301MB1301; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; MIME-Version: 1.0 X-Microsoft-Exchange-Diagnostics: 1; BY1PR0301MB1301; 2:O/D8zY56pHacO2w9oz1aC/h957eurSrhd81Gy0o3CkcAVmnvWUdBtRKXvSVXRPRxA8qkPQChsgJW3JqKRvpPNMUPcCX7L3NwWbZeUE+Z0yt+efqeCQuAkpNi+Q42unxNCvX28HBrpGeDefYcBv1PhhBY+XJT4tz8kt3Pt8vNR3Y=; 3:Hr1SHh/yy599zNIdVspuPkqzoL3TftEb8DbJSsCo3kB5Kycmys7STid/RySClVZGsS63TJa70iM8/X9x1voSJ/NG5pL3wdQXA/9T0ozLXOM6h1HqlboU6oHzlQZumdePJVPI3W9pcGU8Je9N1r5RlMMEShYoIEbfuCXj950kOCs9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V1nGV4+MzeU4gO1eo7pvY/uoLKrxZQ1ZLip+aicRhdXWzXvW22zPVVN3AkcJZMhV4JdinkDxNQZ7/xJtbaHOLMaNru0QHDDH X-Microsoft-Antispam-PRVS: <BY1PR0301MB1301B1A10C7EEA75EAA8A812E9290@BY1PR0301MB1301.namprd03.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:(101931422205132); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(8121501046)(5005006)(520078)(10201501046)(3002001); SRVR:BY1PR0301MB1301; BCL:0; PCL:0; RULEID:; SRVR:BY1PR0301MB1301; X-Forefront-PRVS: 0751474A44 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY1PR0301MB1301; 23:AkyUU10eO4yTYDOVVDVQmDJgEaCh3zGOw0VMufQ?= =?us-ascii?Q?B5l6giWkjTLM4o3K0WJIdMYTiVdHJX8t+9Ngzd2dEZa3fedqsDlZWPMKgzhT?= =?us-ascii?Q?fav7I8ArP8bye7SaBRBHvW0ADM26D5qXOP8I3U+GJhR/lZZs2bWZGSqbn1FY?= =?us-ascii?Q?FkVPjhu0BR6xaGba1O9/86hCJcAaN1XEUbyq3F8wfkNsFNAOUBmiHI11fx+T?= =?us-ascii?Q?/uzUsBPIPP8wUxDIXx/3YoL2NpWqaebtQalxJvDedA4AqyVX/Hf7h3QXoWP8?= =?us-ascii?Q?VIGGZx7/q/2JtHOxuEJr3cgB3IcO8ciE287p6YSbs0ugAuRIGbx//I9I9hMi?= =?us-ascii?Q?xtSwX1Smt4o5LAuI0Hasd0UBF0/a/HFwZcHyUACWrqCMd+w4R7kr/sgEPx3O?= =?us-ascii?Q?G3L/ubuI0/T8UxWQYR0+uB9OB9MPrWy3FMz9C0bGUnVKfaA0Te1y4piWcWVi?= =?us-ascii?Q?T3mKqnFPWrgKThLthhdq5NuecK2O18/SbQpT0fxMcwFl9O/0rKbHvOboDvin?= =?us-ascii?Q?g2kcEl9eiKDcx3uB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y09PWRqZdXh5VsXaJWmFcBdHgOCUqKjagDTGcN5GA6IAz+H+0Kog== X-OriginatorOrg: freescale.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Nov 2015 14:43:59.3106 (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: BY1PR0301MB1301 Cc: Fabio Estevam <fabio.estevam@freescale.com>, trini@konsulko.com, u-boot@lists.denx.de Subject: [U-Boot] [PATCH v7 07/21] sh: 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 Thu, Nov 05, 2015 at 12:43:28PM -0200, Fabio Estevam wrote: > The generic bitops headers are required when calling logarithmic > 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> Applied to u-boot/master, thanks!
diff --git a/arch/sh/include/asm/bitops.h b/arch/sh/include/asm/bitops.h index c57d628..8cb8385 100644 --- a/arch/sh/include/asm/bitops.h +++ b/arch/sh/include/asm/bitops.h @@ -1,6 +1,11 @@ #ifndef __ASM_SH_BITOPS_H #define __ASM_SH_BITOPS_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__ #include <asm/irqflags.h> /* For __swab32 */