From patchwork Tue Feb 11 06:04: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: 1236173 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=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=lYaeTASF; 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 48GsjN4k8nz9sP7 for ; Tue, 11 Feb 2020 17:06:32 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 0E7678101F; Tue, 11 Feb 2020 07:05:27 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=fail (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=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="lYaeTASF"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id D2C8D80E9D; Tue, 11 Feb 2020 07:05:13 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-0.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FROM,SPF_HELO_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-qv1-xf44.google.com (mail-qv1-xf44.google.com [IPv6:2607:f8b0:4864:20::f44]) (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 7E13E8050F for ; Tue, 11 Feb 2020 07:05:06 +0100 (CET) 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-qv1-xf44.google.com with SMTP id y8so4462964qvk.6 for ; Mon, 10 Feb 2020 22:05:06 -0800 (PST) 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=QU+AYbFNvnqzA6CyAwswy4rSZ5AI+q4Q48dDPOMbXnc=; b=lYaeTASFIi3R4SjrFteOM6rQ5fSj2VDTvs7OjgYCPX8hmwFbmepUs107bQdlqZeM3g Pk55TrYaBwbK2IWgMH6LRJmecZ+B7i/5dYNGAIcJ/d9X3JkoCkYuu+FnCWT8pfp0VTCX aaBhH/9yJMuNTHigqD/DHLkaT2UmFw5FkXUE/WB/GNy4xgh6kHwVQTfPHodHlC4hKoFZ a6veKjkgLZgtZaPxXJZrrNTQ0gjY2svPP6t9H0IUSWkqH6hga4vKcbVVrp/wSV5xjKNO vHtPTggFTd1Ga4HFPEAV2W7fvCjl9x8yI9pJar1+et11op08RiafBZ5n7g/qW11dzp/S /QTA== 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=QU+AYbFNvnqzA6CyAwswy4rSZ5AI+q4Q48dDPOMbXnc=; b=EEf0uyKkLP0hesXUWTYk3VvyJBJ58LsFk7Ii0vm9Q/ytbzBSd7986d65DmX2gv5BSM wDXzYeuj9S1A3ZFtC6LenL9ZoEQxfQQylLgxmMzrOCqCxzhf+cp9qWTWlZQABWoXt8h+ JpyKBI1MR7DBe/w0ijZqkGiqZYAtZSHwdSug3uVC4cEbO9yFA9fzAHo852jEHV0HSgsY e3OsNnQmSNXkBvU+JhIx4BJE9I+/xpJISXn9Uh200sglRBYg1juMuSxouDnG7G911IZ4 Ep8vP4GIbr4vSCT+XHEQbeoswxSghCcPwtBjyODdF2wf421Vbpg9a5ryMXReOXQLqVOV 1Ikg== X-Gm-Message-State: APjAAAUNEur2T9GHzomT8xARaAt2SYQdI0adya+FqRBcHRp8lRT0WXMp HPwazF30WA7QEVmZRN2WGJ/Edg+tptYm0A== X-Google-Smtp-Source: APXvYqyb6cK5TNwvuRu5yzPv9o0o3f5pdZaJNYEBBjfuLD6vH+A3Nv1DLRYClVGTO2Xy2Gi3i55/zA== X-Received: by 2002:a05:6214:118d:: with SMTP id t13mr1485049qvv.5.1581401105258; Mon, 10 Feb 2020 22:05:05 -0800 (PST) Received: from localhost.localdomain ([75.102.135.197]) by smtp.gmail.com with ESMTPSA id n4sm1497608qti.55.2020.02.10.22.05.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 Feb 2020 22:05:04 -0800 (PST) From: Sean Anderson To: u-boot@lists.denx.de Subject: [PATCH v4 08/17] riscv: Add headers for asm/global_data.h Date: Tue, 11 Feb 2020 01:04:16 -0500 Message-Id: <20200211060425.1619471-9-seanga2@gmail.com> X-Mailer: git-send-email 2.25.0 In-Reply-To: <20200211060425.1619471-1-seanga2@gmail.com> References: <20200211060425.1619471-1-seanga2@gmail.com> MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.26 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Rick Chen Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.102.1 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 {