From patchwork Wed Jun 24 10:41:16 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Anderson X-Patchwork-Id: 1316058 X-Patchwork-Delegate: uboot@andestech.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=FR3XLwnt; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 49sKWz2CSnz9sQt for ; Wed, 24 Jun 2020 20:44:15 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id B525682068; Wed, 24 Jun 2020 12:42:50 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="FR3XLwnt"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 20DEA82036; Wed, 24 Jun 2020 12:42:14 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,SPF_HELO_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-qk1-x742.google.com (mail-qk1-x742.google.com [IPv6:2607:f8b0:4864:20::742]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 728EB81FFE for ; Wed, 24 Jun 2020 12:42:03 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=seanga2@gmail.com Received: by mail-qk1-x742.google.com with SMTP id c139so1300584qkg.12 for ; Wed, 24 Jun 2020 03:42:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=FQNWxy+IpTvThwjMGkEJihq+PyUjWEhcj6BxdVgInv0=; b=FR3XLwntR6RGMpeM/E+beodS6XIuOuebdgBfvU0AYIz4a0vEfVeILw5jwtG+hjkoJP PqgvXT3QtzsAl0akRRrJ1n5o+05YbP8TM4qcegQwHjkJfuT/YXGD1t6SDY7DldsPC/9i lc282k8LG5IeVLYVyDqUyT8VqPvlofEzwrztGAoZgL3HjXG4iibw3RqwLpGaMxSsbrI2 XOyVMM1AXXATT4wwNf/A0Uk51Oqai3lQqlnNmXMkMWZqDM4i6DO1PHzSjSTkJsxd+x5g M19w6evXVTbUiY28oaTv8kUuOmyGgONWHsAnLLvtQLAVc4UNyCjh+/YkZ73loZL6ijP+ SUng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=FQNWxy+IpTvThwjMGkEJihq+PyUjWEhcj6BxdVgInv0=; b=gb76dSrRrQQy1XVMsoN+zRiQf1w2pVzADDsobPdx+dfHIJz7u1XN+tSjFTS7kZJKal R0SO9sctBaNDAED8cUSGThUmOFuefGfmVtBYWfffP2KcRaOjl7bEbh0JdxkP6agp5eS2 3GL2n3TsT+9ihelqgXMbzcjpL+FQ8ZiXUYGoAA9UxwN23HHsS6HmM/HQZVf3ayx1JF/P UGGdw/joKTyHxvKLjyRkG9IhoZTI0iEj9FZz1yxNjei3rzemTrd7loTJe4jE4CONLsXl B1FTmYolrzhrdVzCd/jntGNjc+dxJB01AK1cIB8v4Vcmh6eTNy8SFlOMlYU5QDdFeERb eHvg== X-Gm-Message-State: AOAM53298tmDFhkYU++IGGwSPQ5+7k1kPxiTkDV7wOmG+Tz3Ql2ciG+i AJz+dSfOMMIX2QrsV9wM+1v1E7rmDcDH+Q== X-Google-Smtp-Source: ABdhPJylj9Cg6LLRsGIRzeyypK1kQHjEMOWB3EUi75vbcIR52vmGYkAHHEyU3qoam/kLVtO5v9m/JQ== X-Received: by 2002:a37:4683:: with SMTP id t125mr21410470qka.416.1592995322094; Wed, 24 Jun 2020 03:42:02 -0700 (PDT) Received: from godwin.fios-router.home (pool-108-51-35-162.washdc.fios.verizon.net. [108.51.35.162]) by smtp.gmail.com with ESMTPSA id y40sm3438464qtc.29.2020.06.24.03.42.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Jun 2020 03:42:01 -0700 (PDT) From: Sean Anderson To: u-boot@lists.denx.de Cc: Rick Chen , Bin Meng , Sean Anderson Subject: [PATCH v14 11/20] riscv: Add headers for asm/global_data.h Date: Wed, 24 Jun 2020 06:41:16 -0400 Message-Id: <20200624104125.363509-12-seanga2@gmail.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200624104125.363509-1-seanga2@gmail.com> References: <20200624104125.363509-1-seanga2@gmail.com> MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.30rc1 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.102.2 at phobos.denx.de X-Virus-Status: Clean This header depended on bd_t and ulong, but did not include the appropriate headers. Signed-off-by: Sean Anderson Reviewed-by: Bin Meng --- Changes in v4: - Include compiler.h not linux/compiler.h arch/riscv/include/asm/global_data.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/riscv/include/asm/global_data.h b/arch/riscv/include/asm/global_data.h index 6c50149218..2eb14815bc 100644 --- a/arch/riscv/include/asm/global_data.h +++ b/arch/riscv/include/asm/global_data.h @@ -11,6 +11,8 @@ #define __ASM_GBL_DATA_H #include +#include +#include /* Architecture-specific global data */ struct arch_global_data {