From patchwork Sat Oct 24 12:28:10 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 535392 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 C879514132F for ; Sat, 24 Oct 2015 23:29:55 +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=AUWAyeJB; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 3F1594B739; Sat, 24 Oct 2015 14:29:25 +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 9ENCuREq9XfA; Sat, 24 Oct 2015 14:29:25 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 1EB064B6E7; Sat, 24 Oct 2015 14:29:06 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id D675E4B61D for ; Sat, 24 Oct 2015 14:28:49 +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 zm_CwxbGeU-e for ; Sat, 24 Oct 2015 14:28:49 +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-f50.google.com (mail-qg0-f50.google.com [209.85.192.50]) by theia.denx.de (Postfix) with ESMTPS id 0F0744B676 for ; Sat, 24 Oct 2015 14:28:43 +0200 (CEST) Received: by qgad10 with SMTP id d10so86742030qga.3 for ; Sat, 24 Oct 2015 05:28:42 -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=LEYlC8tB1W6lJ7WMCXwZan9XcFRHcbn65eDVogKjx58=; b=AUWAyeJBFbY5JdjK10zWiNCjlop1cSKVzTD3omYnm8OA7y6S/m+EnhzEItRqstjzGg IcjwOqip4prQRXXJIkiJDHJpmvbWvazb7Ra9h0Yekl8sp9uSBYvAu7/6Q2HhryXF9uE4 Sx2bXJ0JLSKlI0JqR5bM1CwpEBklLCUhAtP1mL8eTKDJlzmFIuL8lQWBK8h37g1fdq8X lNRKBSpklfVUA49zC/vU+kESL7vM0IFx8Z/OrjhIa0uPa4woNDjeCXq0R0ctYRblx/ll GPLwcwRnefvnob0+KRWGPtnohDMct+DKDI1feoOU8ZHlHOqbCLV5I1KQz5xf48LrSsHH NYZA== X-Received: by 10.140.134.80 with SMTP id 77mr32890762qhg.103.1445689722571; Sat, 24 Oct 2015 05:28:42 -0700 (PDT) Received: from localhost.localdomain ([189.5.18.213]) by smtp.gmail.com with ESMTPSA id a41sm9314122qka.15.2015.10.24.05.28.40 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 24 Oct 2015 05:28:42 -0700 (PDT) From: Fabio Estevam To: trini@konsulko.com Date: Sat, 24 Oct 2015 10:28:10 -0200 Message-Id: <1445689693-21436-10-git-send-email-festevam@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1445689693-21436-1-git-send-email-festevam@gmail.com> References: <1445689693-21436-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 10/13] sh: 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 --- arch/microblaze/include/asm/bitops.h | 4 ++++ arch/sh/include/asm/bitops.h | 5 +++++ 2 files changed, 9 insertions(+) diff --git a/arch/microblaze/include/asm/bitops.h b/arch/microblaze/include/asm/bitops.h index 0ac78d7..d24f2cf 100644 --- a/arch/microblaze/include/asm/bitops.h +++ b/arch/microblaze/include/asm/bitops.h @@ -7,6 +7,10 @@ #include /* swab32 */ #include /* save_flags */ +#include +#include +#include +#include #ifdef __KERNEL__ /* 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 +#include +#include +#include + #ifdef __KERNEL__ #include /* For __swab32 */