From patchwork Wed May 20 06:41:02 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Anderson X-Patchwork-Id: 1294016 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=85.214.62.61; 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=SG1jbRIb; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (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 49Rjrz5D2vz9sT6 for ; Wed, 20 May 2020 16:44:03 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 9C93081E7B; Wed, 20 May 2020 08:42:16 +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="SG1jbRIb"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 96DD181E93; Wed, 20 May 2020 08:41:37 +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-qt1-x841.google.com (mail-qt1-x841.google.com [IPv6:2607:f8b0:4864:20::841]) (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 68BD481E81 for ; Wed, 20 May 2020 08:41:32 +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-qt1-x841.google.com with SMTP id a23so1778233qto.1 for ; Tue, 19 May 2020 23:41:32 -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=SG1jbRIbK8ymclT+jdLyz1xC9J0Re426VRJvOb+jCFrFyDI3qM68rI7WbthytSbU/l sKsC6vAtGAOook+dY+jWwu7C4TNzwpTKEgBGvdu+QGg0Jisq70QYRaLuzl591CFcgGC6 YXA75tdhV/Fbu5Dn43Rvmn0Fb1Jlh6g+g++oViNcD8IWxPLzmQItKcCGSaMcl5n71rLD fr4pS0K3c+p+VW+9dyVP9zM7pEta/7ab0CVwZu7z63Rh7IjEhNeSJ5TLm4tQbLlXuIR1 7q1daepDZaORnFqnnl/z6LueiJYSYQGzjGbsU3cEg7AVKMUOg7EkqctHupQmTEhBp4Yb ILWA== 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=CvmduF++vJCCtV47yJUmAjaAYKi1mUwrhkypRWJaPY6bkWZLQtrQSFdCnYV/LZUuxd 9wIdwvXRJ+vD7oGGzLf9TBtiZP2dxixP4kibV8Orwexvd3pX1ggq6yig1fb7OQCPnqNr 6hb39vzjS161sA7KVlTVH1RCQIlwcETrmQopSxEJDe1ecHFzDBq8nPrAgoMpQZz6U37B zIA9pbMtSXh+EVtxud1BgntWsQMprtPxJg7ywaskTSOf26Q6rdcjqVC9nzMmBsU8HvxY VsHo2YUTNbR6r6qkGYZLe7+JCpXGuKrI43sgi9mHvXbV2O4GT8HygAlnjzS30cP+8vwb 8DPg== X-Gm-Message-State: AOAM531ctFShMn/EeIiPtLZW0ZS4qBmn2HYwuruVvaI7WZUOENz0SIeO S5HxxK6FCX9M0iK/d+s7uTFT9EiyBXQ= X-Google-Smtp-Source: ABdhPJyblWvOet0WrgdZGyua6vsJ2yuyphcwLxbyIIBiCbo22Dlos+zwj6yB6eEMcxWgyCFk6I8Quw== X-Received: by 2002:ac8:5241:: with SMTP id y1mr4006954qtn.165.1589956891071; Tue, 19 May 2020 23:41:31 -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 i59sm1600393qtb.58.2020.05.19.23.41.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 May 2020 23:41:30 -0700 (PDT) From: Sean Anderson To: u-boot@lists.denx.de Cc: Rick Chen , Bin Meng , Sean Anderson Subject: [PATCH v11 12/21] riscv: Add headers for asm/global_data.h Date: Wed, 20 May 2020 02:41:02 -0400 Message-Id: <20200520064111.317605-13-seanga2@gmail.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200520064111.317605-1-seanga2@gmail.com> References: <20200520064111.317605-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 {