From patchwork Sun May 3 02:46:28 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Anderson X-Patchwork-Id: 1281846 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=QjbiM8CJ; 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 49F9S74brkz9sSk for ; Sun, 3 May 2020 12:49:27 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id D2A2182299; Sun, 3 May 2020 04:47:08 +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="QjbiM8CJ"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 1EBA381EF6; Sun, 3 May 2020 04:46:59 +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 7A9D081EE4 for ; Sun, 3 May 2020 04:46:56 +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 i7so4824844qkl.12 for ; Sat, 02 May 2020 19:46:56 -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=sqtGfuF2AUXKzcrv0rJwHetVbh8PLUyiStwRK3XIo/U=; b=QjbiM8CJ33OKfvg5LYZFehWrK3xJ9wNAlhSzZedk0XAIYJaiqZVEt/LyvLexst66qh j7/+RH/gT7N6tI594bAlRUbVazz3YGOerN83LRa8WFTypYaLVHZ8Z9mqrHsTC9kvn79F 36aiswsuQl7mpffSW2oHTlQGhk6HSwzsiRKkudSEHqqj1lPaKavOyekizdamlCo/cWKk p/ugyrD3xMQKuB7yPI7xxZfXKlE2yimW9MZbLfjr3miCsDi6oWIcinvM4rJfftF/A1Wb Zimb4IccG8i3D3wqmmHWHN61PfneoraFyx9bm/Bud1HDrypvKcRZ6vljno7bCv/OrXRk VrjQ== 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=sqtGfuF2AUXKzcrv0rJwHetVbh8PLUyiStwRK3XIo/U=; b=qA5Gs3+s81gceqLhjZABjMaECeL9VIjMLU95EX7a22Mpb1AOtRJQgx87oTbc20bmiH QtrL7AkKSPSsWyQS6MbuBHXUhxswsrfIfIFChLgwd3OE8JTcgbjjDf26dV3Ih25rzdbc /vpw75mBFPVQqZWYxIV75PZ3b419ZZ8uYJb7OFP/SLnUpyHbAlq14C9j+LEWsdZEM1YD iFWs9UnZ3rfcbIqGEXlEzucn0Hrraruf12oofmSp1IrotkFKg66MBdHwvhEscY3jgYwc QF10CDS7KU8kRoQWeenMJklRHvtjP8eUdsLPnxRB7NmnLKbzsuPMS61pZwO9W1NbaFdG J43Q== X-Gm-Message-State: AGi0PuZ7Ig4JhIOdAjI//6Vz1SyeTr5cDMVxPvL/2sbi3rbkvXgXvIsX egaG6QOVghaMwq+dQ8B7DUMGZ+R1Gpo= X-Google-Smtp-Source: APiQypK772wJG7f4xWrBH18pZKe8Lly7rb19o9Dt/bvokXZfju0G67nIxtxyYHqNO6FW3a3F1IYO0A== X-Received: by 2002:a37:9a41:: with SMTP id c62mr10567343qke.244.1588474015265; Sat, 02 May 2020 19:46:55 -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 h2sm6610696qkh.91.2020.05.02.19.46.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 02 May 2020 19:46:54 -0700 (PDT) From: Sean Anderson To: u-boot@lists.denx.de Cc: Bin Meng , Rick Chen , Sean Anderson Subject: [PATCH v10 12/21] riscv: Add headers for asm/global_data.h Date: Sat, 2 May 2020 22:46:28 -0400 Message-Id: <20200503024637.327733-13-seanga2@gmail.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200503024637.327733-1-seanga2@gmail.com> References: <20200503024637.327733-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 b74bd7e738..7276d9763f 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 {