From patchwork Sun Oct 25 17:17:05 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 535613 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 2C5C7140E4A for ; Mon, 26 Oct 2015 04:18:59 +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=u5i5oVAJ; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 402FF4B669; Sun, 25 Oct 2015 18:18:30 +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 ggLM-leWtyOo; Sun, 25 Oct 2015 18:18:30 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id B003D4B660; Sun, 25 Oct 2015 18:18:20 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 5CCA54B65F for ; Sun, 25 Oct 2015 18:17:59 +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 frsxVGTJjmhK for ; Sun, 25 Oct 2015 18:17:59 +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 mail-qk0-f171.google.com (mail-qk0-f171.google.com [209.85.220.171]) by theia.denx.de (Postfix) with ESMTPS id 57AF14B6A1 for ; Sun, 25 Oct 2015 18:17:39 +0100 (CET) Received: by qkcy65 with SMTP id y65so100834724qkc.0 for ; Sun, 25 Oct 2015 10:17:38 -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=mnhT9+uml4f6kcyZ/I0UEf+X4+/5nkED33YLecaGPV0=; b=u5i5oVAJiK09I1ABbH0MuY0CR2HuR5OtgFi68Um3aOhJ6tGP+ESWd95qXRE/PpFLVS aPn5wQGNbKOuHbXDewQRcPMAy9t+o+r8ObqMQgFkpfO7jEzOzsoObmiJYzTcTLKmYDnt y3amhLOv7/T2NaIFyjFxd8XJggURtXbPDosQcNf6Bhd/mn4tKVn8rFR9JiP8eKc1XHNM kd04tRf6XLJ+szGk0W2ona3p40N7Y/NdOkq175SaD1s0cy4O//0c8rQCHzeSRqwLnUZ7 BI0htUnyd42IX24zi9g7T51C2nIA0uEMKU4AyQtjt+NgdKDzQQUj/cGc9cgW8+GCNEks Opzw== X-Received: by 10.55.79.86 with SMTP id d83mr10304627qkb.87.1445793458819; Sun, 25 Oct 2015 10:17:38 -0700 (PDT) Received: from localhost.localdomain ([189.5.18.213]) by smtp.gmail.com with ESMTPSA id 83sm5429935qhw.27.2015.10.25.10.17.36 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 25 Oct 2015 10:17:38 -0700 (PDT) From: Fabio Estevam To: trini@konsulko.com Date: Sun, 25 Oct 2015 15:17:05 -0200 Message-Id: <1445793427-1446-10-git-send-email-festevam@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1445793427-1446-1-git-send-email-festevam@gmail.com> References: <1445793427-1446-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 v3 10/12] sandbox: 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 v2: - None arch/sandbox/include/asm/bitops.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/sandbox/include/asm/bitops.h b/arch/sandbox/include/asm/bitops.h index f1a7aee..f27d5e9 100644 --- a/arch/sandbox/include/asm/bitops.h +++ b/arch/sandbox/include/asm/bitops.h @@ -21,6 +21,10 @@ #include #include +#include +#include +#include +#include #ifdef __KERNEL__