Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp4057463pxb; Tue, 17 Nov 2020 10:08:00 -0800 (PST) X-Google-Smtp-Source: ABdhPJytEh6kta2FoWHfVIl5zmzIOcJyqtTS23HUJLUAgYzs4OfugEwM9OXrv6vxfjpKqYQ904rn X-Received: by 2002:aa7:db57:: with SMTP id n23mr23544107edt.208.1605636480089; Tue, 17 Nov 2020 10:08:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605636480; cv=none; d=google.com; s=arc-20160816; b=zN02vt3IHMP40/XaPgMxxxyvcY6olkR+q4X5hkDS7RPwasyv65xmjOvqnp+luWEbF3 ZX5NtukOP69QtN8TNp6hrrHpS8+ODD+SHfWbOWAYjfMqKGMeYa7IT1/dqku0mgJhysLP lasADNpV1GBlGazrlwbsUwmYrDbJdcrfLcXPHIuZkHc9AI8JM1RszOKgyru6AQQPqUzU 8cXdlNANQ0x8aiN2LE32eyJZwiz0IgdWpho/QdKt/35pm4dlKY5dfmoOIASyptDtna9E WU6AmY1AP1vYG9TiBI/3RdJ2bChu+NGhdFzkYVZChrCsizwR49U8O2Ga3wyNCEQT4jHy qbvw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:robot-unsubscribe :robot-id:message-id:mime-version:references:in-reply-to:cc:subject :to:reply-to:sender:from:dkim-signature:dkim-signature:date; bh=B/dJMwqo7xhCBqTBeXGaMj6Ru9Srug3/W1FhWiQG36o=; b=IA8tQ5tLm3BAZLzO0+OftaD0h0UfGOtmTyJM1na55AbFj/LfyF0ph1F148blBG2eZ1 m/lXkPR+mM57A6dlttnDMRqZZAYFRTuRhwnpqOelOaKH2ihGr/QetKUxMZhqy9IABGB3 J4vi847YrmLmTmcRQyn3oQz9+3Mdceh2RcRxZLT+w7pivULIIitvDdeqrz+JzHHid5hh 1sDtFBnNBFOBg2GTS5UTaXTQTgJPjYA3TNdDGUCE1KN/GHzAcJajSEAWMYCHlVRKo+Gb 5i8BzFmv+58uu5MmtPekbKSa9FlTEEkE3Y2XvVss0shZRe+GmJNr0Bk/6A/9e9JQ+LQW LF9A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=YiYtxCZK; dkim=neutral (no key) header.i=@linutronix.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l9si14766229edi.199.2020.11.17.10.07.34; Tue, 17 Nov 2020 10:08:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=YiYtxCZK; dkim=neutral (no key) header.i=@linutronix.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730538AbgKQSDQ (ORCPT + 99 others); Tue, 17 Nov 2020 13:03:16 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46728 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730419AbgKQSDN (ORCPT ); Tue, 17 Nov 2020 13:03:13 -0500 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 28164C0613CF; Tue, 17 Nov 2020 10:03:13 -0800 (PST) Date: Tue, 17 Nov 2020 18:03:10 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1605636191; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=B/dJMwqo7xhCBqTBeXGaMj6Ru9Srug3/W1FhWiQG36o=; b=YiYtxCZKotXhalnfzkaUnfGrGQTP1/7QtprNPEukiKQUz1caSxJ6q5jYf3cu2jGxY0WZCt /S06w+F/VH6UwmbiO/RlhY33mDXulK18vxvvP9u4SYtgH+12rn5A4I6RVe2rbU+2nq4w6O 4uWT949sIUOAkS3kFFWfPIQwLMlEi+bvLIYcdfUrASqVmpb4MMw7z1xAv/aRiunaIhUJOs dsBg0W5BvoUNjcfQQZFhXeJ5wNYF8j6p2RthspiBbn7RpmMVHgEA651mWSn7ROjTjxkoUW Cly00ySVAcV2fKZBcjQ7VYWKoz7sc0PlSimk9B0M1P1oFXdeuP7rnsE0OptLew== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1605636191; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=B/dJMwqo7xhCBqTBeXGaMj6Ru9Srug3/W1FhWiQG36o=; b=uiTgXwCRdjSgqU4WWuOidcN9cRFoYLlEsjNSu5jtga660KV6ejle5/vVk/AqCLbtu0O49g VSss8Ly9eyhWCiBw== From: "tip-bot2 for Heinrich Schuchardt" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: efi/core] efi/libstub/x86: simplify efi_is_native() Cc: Heinrich Schuchardt , Ard Biesheuvel , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20201003060356.4913-1-xypron.glpk@gmx.de> References: <20201003060356.4913-1-xypron.glpk@gmx.de> MIME-Version: 1.0 Message-ID: <160563619080.11244.12370946188022666812.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The following commit has been merged into the efi/core branch of tip: Commit-ID: bc13809f1c47245cd584f4ad31ad06a5c5f40e54 Gitweb: https://git.kernel.org/tip/bc13809f1c47245cd584f4ad31ad06a5c5f40e54 Author: Heinrich Schuchardt AuthorDate: Sat, 03 Oct 2020 08:03:56 +02:00 Committer: Ard Biesheuvel CommitterDate: Mon, 26 Oct 2020 08:06:36 +01:00 efi/libstub/x86: simplify efi_is_native() CONFIG_EFI_MIXED depends on CONFIG_X86_64=y. There is no need to check CONFIG_X86_64 again. Signed-off-by: Heinrich Schuchardt Link: https://lore.kernel.org/r/20201003060356.4913-1-xypron.glpk@gmx.de Signed-off-by: Ard Biesheuvel --- arch/x86/include/asm/efi.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/x86/include/asm/efi.h b/arch/x86/include/asm/efi.h index bc9758e..7673dc8 100644 --- a/arch/x86/include/asm/efi.h +++ b/arch/x86/include/asm/efi.h @@ -213,8 +213,6 @@ static inline bool efi_is_64bit(void) static inline bool efi_is_native(void) { - if (!IS_ENABLED(CONFIG_X86_64)) - return true; return efi_is_64bit(); }