From patchwork Tue Jun 4 18:51:42 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leif Lindholm X-Patchwork-Id: 165811 Delivered-To: patch@linaro.org Received: by 2002:a92:9e1a:0:0:0:0:0 with SMTP id q26csp6228630ili; Tue, 4 Jun 2019 11:51:53 -0700 (PDT) X-Google-Smtp-Source: APXvYqwUXC8sL+jhB9om/V7GnmbOuFUMV5LhGGbQVMdAPHQETBiKkEWJE59Na4q9b6sHfVXFFE9M X-Received: by 2002:ab0:4a55:: with SMTP id r21mr17272527uae.133.1559674313453; Tue, 04 Jun 2019 11:51:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559674313; cv=none; d=google.com; s=arc-20160816; b=UVJVnYKSDVonfrDwqSGNAkQNbsgz2YzEUCAjm+Ox+sBPA3KPfSuKsWQtWe8F6T/UTy +EPG1S5tJ1AWkhILeFbXCZr8y16zD2BaM3v226Wp+w96QHMEdOgnmf5tpZFo7+kiYgCP SCFLTzAgx9BpG4g0xhF9fK/W0dvrh4cFFj7E/H8D5RiOrM7swdZLNHdnK5S6DexBzc9B fGYNqn+kPAtLb6Tza5tvpVtjwKVlFYgTjqNgApMcF0tf9x2T70HUDvlxJkKZqQ+AhSXQ /66aE0lbxhxeXZ+B2rX//MXKw7uNOiXplag44ghXH1m24+r/dX1aV3iiJZOJ5xPgX6yB EqPg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version:cc:reply-to :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:message-id:date:subject:to:from:dkim-signature; bh=d1ojwT6aqKICTwzn+V7tVs/z8EAcqbffayIPMzew0hg=; b=TuOTipc32SPalsR/0rD9f0g8i3BshEkQm0zBFnawsQvg6s7ig2aRpfgLmpK7vVmG6t FIJMhJK7aNg81L+V4uyZQMqskDqAT5eJlkzRAH1+p9S1lY11N72zQQQnHe1j/N1ujGNm c4Lw3s/kQJzCc+Dagen9cyzvmiT15nGHv+SrcCP9hsuayYTqbOlprusuQHMqi9OlqWFr GPMRPtrSzcp4rnkISSz0rehB2pV8b88wuuaWYMvrJOxL1youpz1vgcbaHKYjk5nSmxdc hmswr13qlqM8OU2HZfTrusjGx10h/PWtx3ZYMsq4yOC9CaSUElEsSAneaDAEUd3L/Qyj vX4w== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=RBxa+T8r; spf=pass (google.com: domain of grub-devel-bounces+patch=linaro.org@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="grub-devel-bounces+patch=linaro.org@gnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id d7si3747174vsj.201.2019.06.04.11.51.53 for (version=TLS1 cipher=AES128-SHA bits=128/128); Tue, 04 Jun 2019 11:51:53 -0700 (PDT) Received-SPF: pass (google.com: domain of grub-devel-bounces+patch=linaro.org@gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=RBxa+T8r; spf=pass (google.com: domain of grub-devel-bounces+patch=linaro.org@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="grub-devel-bounces+patch=linaro.org@gnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([127.0.0.1]:56497 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hYEXJ-0008Ps-29 for patch@linaro.org; Tue, 04 Jun 2019 14:51:53 -0400 Received: from eggs.gnu.org ([209.51.188.92]:42383) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hYEXD-0008Pm-1k for grub-devel@gnu.org; Tue, 04 Jun 2019 14:51:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hYEXC-0000Iy-2M for grub-devel@gnu.org; Tue, 04 Jun 2019 14:51:47 -0400 Received: from mail-wm1-x341.google.com ([2a00:1450:4864:20::341]:51075) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hYEXB-0000Hw-SD for grub-devel@gnu.org; Tue, 04 Jun 2019 14:51:46 -0400 Received: by mail-wm1-x341.google.com with SMTP id f204so1149656wme.0 for ; Tue, 04 Jun 2019 11:51:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=WQvGYvDdKRJsly1+ALFGLQ/D3Irt2v0rN7+jDG9YmfY=; b=RBxa+T8rMq5NUvTmVEjHvb5Yb9ftoPKKZ7ecKUlT8hIlLsjA/PdIVS3LeIj5zPN31j nG9z+9vcDnwo71Sz3OkEyCDXq6cOyzKHTLL0IG1j1NyYqiE26OTiDYh0132qHKeKq7g4 P8C4k7h5yYFRUiCWviUvphPrtnJRYffrbcI2SkAkNksuCalB8tGEENVuG5cPLGiQEm+N NIGuxLhYKhzkx2firiV2iUGYSxDN045HvRKXr3G3dg7I7AIw4mTjxi0g6mDmoDAYuWt9 +NWCwZcaG+q/gLRC0lFbMtMRP6E+63xjx7eyZO8JZ24dEw7bOPERK6V50h8ITbBml0wR msfg== 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; bh=WQvGYvDdKRJsly1+ALFGLQ/D3Irt2v0rN7+jDG9YmfY=; b=Whufx5Bb3/2WS97RthJ9xYON5mk+4hprZCU0aO7s3+APn6mAIJ2fENh8BOBFtOZo1X s8EMz5Esxo8ZcqU/eukmFMXd8HmR1EuOpcsTdEjHZ8H68bdZvmivvSIacWwtuaN2zoXt kjbe7YR3cEbwldXbRoHTrHhw+S1njG5MbMskOACZwmcIzSmhDKsKTtyL/bXv8m5d6G9r IHvz5ZLQPY3rRIzR8E/zc0Ji7ztsA4YdGHoYmULcZbLj7BhLH3jZ28Nbd56H43y9t6WM LUqvHveDzqHyBYPFz9vbrMy6opihwkD50aeW1newMzMuoL2xsVv3ECpmCwgSWy+Og9TT 46xA== X-Gm-Message-State: APjAAAWrAKlBOcwewW2bG/g4UFFDqnZ5cEQB8KGMe6YnvKcLXkxmOyvb T9hzgrq79WrJvyzjPhdfFynuOQ5bYJO+dw== X-Received: by 2002:a1c:e718:: with SMTP id e24mr19672552wmh.104.1559674303805; Tue, 04 Jun 2019 11:51:43 -0700 (PDT) Received: from vanye.hemma.eciton.net (cpc92302-cmbg19-2-0-cust304.5-4.cable.virginm.net. [82.1.209.49]) by smtp.gmail.com with ESMTPSA id y12sm15586003wrh.40.2019.06.04.11.51.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 04 Jun 2019 11:51:43 -0700 (PDT) From: Leif Lindholm To: grub-devel@gnu.org Subject: [PATCH] ia64: build fix in cache.h Date: Tue, 4 Jun 2019 19:51:42 +0100 Message-Id: <20190604185142.5316-1-leif.lindholm@linaro.org> X-Mailer: git-send-email 2.11.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::341 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: The development of GNU GRUB Cc: Alexander Graf , Daniel Kiper MIME-Version: 1.0 Errors-To: grub-devel-bounces+patch=linaro.org@gnu.org Sender: "Grub-devel" Add ia64 to the architectures excluding a declaration for grub_arch_sync_dma_caches. IA64 does not include any of the source files that require the function, but was overlooked for d8901e3ba115 ("cache: Fix compilation for ppc, sparc and arm64"). Add it to the list of excluding architectures in order to not get missing symbol errors when running grub-mkimage. Reported-by: Alexander Graf Signed-off-by: Leif Lindholm --- include/grub/cache.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- 2.11.0 _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel Tested-by: John Paul Adrian Glaubitz diff --git a/include/grub/cache.h b/include/grub/cache.h index ccfa717e6..85819fe2d 100644 --- a/include/grub/cache.h +++ b/include/grub/cache.h @@ -34,7 +34,8 @@ void EXPORT_FUNC(grub_arch_sync_caches) (void *address, grub_size_t len); #endif #ifndef GRUB_MACHINE_EMU -#if defined (__aarch64__) || defined (__powerpc__) || defined (__sparc__) +#if defined (__aarch64__) || defined (__powerpc__) || defined (__sparc__) || \ + defined (__ia64__) #elif defined (__i386__) || defined (__x86_64__) static inline void