From patchwork Sat Oct 24 15:26:50 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 535424 X-Patchwork-Delegate: trini@ti.com Return-Path: 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 08766141325 for ; Sun, 25 Oct 2015 02:28:48 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=XB8XH5mz; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 871F54B6DF; Sat, 24 Oct 2015 17:28:17 +0200 (CEST) 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 2lmM6LnOvEwZ; Sat, 24 Oct 2015 17:28:17 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 6C8B04B6E1; Sat, 24 Oct 2015 17:28:05 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 87B7B4B681 for ; Sat, 24 Oct 2015 17:27:57 +0200 (CEST) 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 8D0qGVN2dLvE for ; Sat, 24 Oct 2015 17:27:57 +0200 (CEST) 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 mail-qg0-f54.google.com (mail-qg0-f54.google.com [209.85.192.54]) by theia.denx.de (Postfix) with ESMTPS id 198464B6A1 for ; Sat, 24 Oct 2015 17:27:38 +0200 (CEST) Received: by qgbb65 with SMTP id b65so88839828qgb.2 for ; Sat, 24 Oct 2015 08:27:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=pm4lFAqpGkxX3o9RMuyq5O1GPbTl+3fKxM51qWGW8Uw=; b=XB8XH5mzKuXhzDtuFBIY4X3LFa2IcxuhFNE594+wJOdi/8oxMiSfyYXUiYzye1n6Ax Q0ZxGJzPxhoAIiQrsA5qd8ipqCR5LSdQgt/a5Hsu+hT79PsYONyFVUvxCI6aw0euedSS RAkNDmGUDNRAp1sqSoCV2qaWoHLJv8wsheEgCRTIxuwvPBzVpZHJz37r7hKEnbOjtUb4 OLdmC+UbV3xxLRLlvGdsU/gRzfI01xYVEKlopxtcGQC7hAFIyhN+Ojr+26dQQO7yssQt FuumMn/OeRYuvkSBSoUkdXgUSgRYOB73snLLoEow/mGTPHVM1LPoLfd33+Em+JO3fxfF NAOg== X-Received: by 10.140.133.69 with SMTP id 66mr34590602qhf.18.1445700457374; Sat, 24 Oct 2015 08:27:37 -0700 (PDT) Received: from localhost.localdomain ([189.5.18.213]) by smtp.gmail.com with ESMTPSA id v10sm9528993qgv.32.2015.10.24.08.27.35 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 24 Oct 2015 08:27:36 -0700 (PDT) From: Fabio Estevam To: trini@konsulko.com Date: Sat, 24 Oct 2015 13:26:50 -0200 Message-Id: <1445700414-28600-8-git-send-email-festevam@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1445700414-28600-1-git-send-email-festevam@gmail.com> References: <1445700414-28600-1-git-send-email-festevam@gmail.com> Cc: jteki@openedev.com, u-boot@lists.denx.de, Fabio Estevam , otavio@ossystems.com.br Subject: [U-Boot] [PATCH v2 08/12] 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" From: Fabio Estevam The generic bitops headers are required when calling logarithimic functions, such as ilog2(). Signed-off-by: Fabio Estevam Reviewed-by: Tom Rini --- Changes since v1: - None arch/blackfin/include/asm/bitops.h | 4 ++++ 1 file changed, 4 insertions(+) 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 #include +#include +#include +#include +#include #ifdef __KERNEL__ /*