Received: from list by lists.gnu.org with archive (Exim 4.71) id 1ehJSB-0003uT-1W for mharc-grub-devel@gnu.org; Thu, 01 Feb 2018 13:19:19 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55455) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ehJS5-0003oe-BF for grub-devel@gnu.org; Thu, 01 Feb 2018 13:19:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ehJS4-0003Yh-En for grub-devel@gnu.org; Thu, 01 Feb 2018 13:19:13 -0500 Received: from mail-wm0-x242.google.com ([2a00:1450:400c:c09::242]:38229) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ehJS4-0003Wc-7y for grub-devel@gnu.org; Thu, 01 Feb 2018 13:19:12 -0500 Received: by mail-wm0-x242.google.com with SMTP id 141so7503224wme.3 for ; Thu, 01 Feb 2018 10:19:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=1qo2PxeKmlnle2oiz3Y+7j083YUq+FRlrTd1NP0gzMY=; b=N4Et/OxRo2vUJPEc/v+vmvAb+FAsuGnGSK8js76ZHc7fJ5hL7WiHLfSQtbuNezDUfa 6MwECy9YVu6z8ER7UsFeENyNnI1AaReKJMTYZr3ThGeG+QRopCU8UerEj5FY+s1U0XDR +E0oc9+Qu8MujZDmNMiPxt7XS4qLt7jQSvWVA= 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; bh=1qo2PxeKmlnle2oiz3Y+7j083YUq+FRlrTd1NP0gzMY=; b=p6NSns2dq80vjpztZrqKvnwrNifFlsc8gIW1gRb/2BjAKSZ0P2etjKjYf8pIYtmHgl hnpVcZ314WBZffUR1wr23s/L8nLJRsI57QgOt5jv4BZ3J6xdlO0RRoxcpZ8RxjhZ864B n0feyBo7qiD8fVwoyBSzbktI0Zp5QgJV5tP7y5wlg7gcpk3it+yDkSJpDlTmwqmGN3Tf WhCc0KeMoKCumbPwz99tr35R5yCRj606Fusm8Hnx2kvQWABVyNlZaFgku8vyb+bBWvPM txjkSBcW8/bj+A0Gu0tk+5ZSZeNBfJMsOa4kn+o50hxThAzdJCfXZ6MwqiR9ny/apVqo 8sxQ== X-Gm-Message-State: AKwxyteDc2yEEjqCmBQIoQF96F8sHkCSivQMXVMYpFECqimgX15L5WT0 2jSuI679iV8tOZ+SI8nLR1FjT3GqQRI= X-Google-Smtp-Source: AH8x224HJxZk5ZdyGxlPOPzucxvdhxVTyWbYWCa2ztnygCzt27UY0K4bKy/iBFiyh0wMJ7kb7lQI4A== X-Received: by 10.28.182.5 with SMTP id g5mr26325828wmf.44.1517509150464; Thu, 01 Feb 2018 10:19:10 -0800 (PST) Received: from vanye.hemma.eciton.net (cpc92316-cmbg19-2-0-cust118.5-4.cable.virginm.net. [82.12.0.119]) by smtp.gmail.com with ESMTPSA id b11sm163911wrf.23.2018.02.01.10.19.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 01 Feb 2018 10:19:08 -0800 (PST) From: Leif Lindholm To: grub-devel@gnu.org Cc: Daniel Kiper Subject: [PATCH 06/10] arm64: align linux kernel magic macro naming with i386 Date: Thu, 1 Feb 2018 18:18:54 +0000 Message-Id: <20180201181858.1472-7-leif.lindholm@linaro.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180201181858.1472-1-leif.lindholm@linaro.org> References: <20180201181858.1472-1-leif.lindholm@linaro.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c09::242 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: , X-List-Received-Date: Thu, 01 Feb 2018 18:19:18 -0000 Change GRUB_ARM64_LINUX_MAGIC to GRUB_LINUX_ARM64_MAGIC_SIGNATURE. Signed-off-by: Leif Lindholm --- grub-core/loader/arm64/linux.c | 2 +- include/grub/arm64/linux.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/grub-core/loader/arm64/linux.c b/grub-core/loader/arm64/linux.c index 79f25a711..ebe1e730d 100644 --- a/grub-core/loader/arm64/linux.c +++ b/grub-core/loader/arm64/linux.c @@ -50,7 +50,7 @@ static grub_addr_t initrd_end; grub_err_t grub_arm64_uefi_check_image (struct linux_arm64_kernel_header * lh) { - if (lh->magic != GRUB_ARM64_LINUX_MAGIC) + if (lh->magic != GRUB_LINUX_ARM64_MAGIC_SIGNATURE) return grub_error(GRUB_ERR_BAD_OS, "invalid magic number"); if ((lh->code0 & 0xffff) != GRUB_PE32_MAGIC) diff --git a/include/grub/arm64/linux.h b/include/grub/arm64/linux.h index abe7e9cc3..b06347624 100644 --- a/include/grub/arm64/linux.h +++ b/include/grub/arm64/linux.h @@ -21,7 +21,7 @@ #include -#define GRUB_ARM64_LINUX_MAGIC 0x644d5241 /* 'ARM\x64' */ +#define GRUB_LINUX_ARM64_MAGIC_SIGNATURE 0x644d5241 /* 'ARM\x64' */ /* From linux/Documentation/arm64/booting.txt */ struct linux_arm64_kernel_header -- 2.11.0