From patchwork Thu Jun 6 09:13:00 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leif Lindholm X-Patchwork-Id: 165959 Delivered-To: patch@linaro.org Received: by 2002:a92:9e1a:0:0:0:0:0 with SMTP id q26csp8515136ili; Thu, 6 Jun 2019 02:13:12 -0700 (PDT) X-Google-Smtp-Source: APXvYqw32FnYuCEEJJAF0WWlWMe1vdsAVZaSAXQTk7z2zZu1jShHL9qWCzppWUHYqbnfsp1NWSVl X-Received: by 2002:aed:3b25:: with SMTP id p34mr39010216qte.289.1559812392243; Thu, 06 Jun 2019 02:13:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559812392; cv=none; d=google.com; s=arc-20160816; b=CbLiuYocPclKKITPuUC37c4mR3RLifqZRX9EFEuG1Xnz66JM3JqCBjchP9/ilQ1k4D fcBCldZut+eBzz2zgBFbZVDJ+JIGeWdO4jNHqPEzdxK+X310/MI+f5Ylju6Bs4aI1IRh bUqsQUFEsoMOiRHaqW2vjOiHwjTPWHKuGoTwkoyZ6XncbZCqnIlL8euSAGGmWDylqcs3 tRGMcqZj2MOm8eHQeanBUI9HQ/CxZJCyngdarSnKk7linsf+nPYu0+Jv0NbSDwYuNMMj wlx6vcxDifMkPQtaUljRNWPHsat41seHrSmNDN1GRpE8FtQpNacjGNj2Y48zbN8JhDEW Sf2A== 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=p8ooaDklS4qevf48rMMwOS+Ym4PiRITftoqXF24Zzxs=; b=ZQ4m7OlIG0+9qAoXcud4Mhyn59KEu5oIAzQfWERhDhF9/AfbShabIeZQjaDb4jfHMd IPIlxxQlEFvmFKjN8bi0cgsKWD1Qty6V0nEg8Bw3/6BtR9s9tjF9qgiPsZL4uMDWXn4Y mopDSRmqA+ztBkSa2VUGw0WPssv/N0TqnT6awCmhX5yvYa7pp1LfC69sB1dy9gECxqed BwpyQhgvLBfeXVhJZNzTYZmL+imA/R0KJ0me9yXyNm4mVnTCpq2cLHsfEAff1v+nKr00 +C1TGgLewxsqiZYw+TngYxQWAmh6VSG8ifZBykElfGhqal5d88MMT2JA3BlFUMHzNBtM LiYw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=mKWOzBqb; 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 t9si1453052qvj.158.2019.06.06.02.13.12 for (version=TLS1 cipher=AES128-SHA bits=128/128); Thu, 06 Jun 2019 02:13:12 -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=mKWOzBqb; 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]:56910 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hYoSN-0000Kk-Sc for patch@linaro.org; Thu, 06 Jun 2019 05:13:11 -0400 Received: from eggs.gnu.org ([209.51.188.92]:35298) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hYoSI-0000Kf-2Z for grub-devel@gnu.org; Thu, 06 Jun 2019 05:13:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hYoSH-00035R-5n for grub-devel@gnu.org; Thu, 06 Jun 2019 05:13:06 -0400 Received: from mail-wr1-x443.google.com ([2a00:1450:4864:20::443]:39793) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hYoSG-00031r-Uc for grub-devel@gnu.org; Thu, 06 Jun 2019 05:13:05 -0400 Received: by mail-wr1-x443.google.com with SMTP id x4so1580950wrt.6 for ; Thu, 06 Jun 2019 02:13:04 -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=rJuezCA/FvH9Z4MCnjpUpgHY4mfv/SJ/hdGWS43jTUw=; b=mKWOzBqba7SNzJIrpE2ue5k05c2Hv/LpeIKqgZyK2Dl9lcAIMM3/EJ78ketM+PslpG lky+lu3hKxumP63X4RIvrtmrnTnUyeK6214OrGQ1pWPPiaY2JGkCIB2QjIzFdi7oIbUe zcCGTQS6ms1ybuw7f0K39uHwPkp+jRAYUv4XecvIpeZHZvlQk7zaTyPmFJHl86bR9hdD sWTX64Tpe5MRMIP5Cm8TY9RsLA4quLwfI9dY857oYT8Kd/EWRaHg8ax4LA6aLQuBQ6pO R+0s+a30SJP+AJirhh/Gsxu+KIr6BAiwJYBlv1gvK2iIcQI0FHXThr9yjLpltrXtvqbB k9iw== 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=rJuezCA/FvH9Z4MCnjpUpgHY4mfv/SJ/hdGWS43jTUw=; b=uMNx0yZUKmGzCrviCxECreh/LmHlvi2uSeJAUMMs8LEOVCz8y10fdh3RyQl9rXFKd7 8/qp28wGugwCBZa2X3qxzYCS8L0DnZU9tbq9J1zlYafur0YK0NtC0aScYqbLCfXEeFhr Cbpijo9g3d9TX6zEbgR4Z5wYoJ2oW7jXpOSDUWigpeP2ijPgfcrJr4OOlQDFXFqLREX6 EKn7NeufwfuGPyf38ExkfaMhzHkA18PXoemOkkoeqOjrMHn5AD1TZU5F5H0GJArS6kEn LQ9vOfEsd6Qz/j7JSMAz7jvDV8NN+Fa8PqMMb8UjtF/ROHmG3hDOPhKTeN9DenOtxJtC 4++A== X-Gm-Message-State: APjAAAX6kP/DtUhFfp0/FP7kLFlRAD1ObkRYzo5E0VBfFaCfmmFVlGqs TysfAyZV0pSBc0dzzijqJ5VCs3QoNJY/Aw== X-Received: by 2002:adf:f3cc:: with SMTP id g12mr27159057wrp.149.1559812382395; Thu, 06 Jun 2019 02:13:02 -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 h23sm1245400wmb.25.2019.06.06.02.13.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 06 Jun 2019 02:13:01 -0700 (PDT) From: Leif Lindholm To: grub-devel@gnu.org Subject: [PATCH v2] ia64: build fix in cache.h Date: Thu, 6 Jun 2019 10:13:00 +0100 Message-Id: <20190606091300.2291-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::443 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 , John Paul Adrian Glaubitz 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 Tested-by: John Paul Adrian Glaubitz --- Changes in v2: - Alphabetically sort macros in conditional. - Add Adrian's T-b. 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 diff --git a/include/grub/cache.h b/include/grub/cache.h index ccfa717e6..7aa8d7933 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 (__ia64__) || defined (__powerpc__) || \ + defined (__sparc__) #elif defined (__i386__) || defined (__x86_64__) static inline void