From nobody Mon Feb 9 11:47:56 2026 Received: from mail.zytor.com (terminus.zytor.com [198.137.202.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 276183A0EA8 for ; Tue, 20 Jan 2026 19:54:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.137.202.136 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768938897; cv=none; b=fr/gsPsTd3pz/8Gn1pO7QEct8FKp8hyUAH4E0rxfb229ApM4dJDQH8OZIW5IVxuon1NwjNxEwvfcMcGrBBlp/UW65OOGssTqt5q2Toq7wWbBoFDB1+vhJWV1unm7sQBbAeKwOPccGSyg0KDdorhHHUkLw0+0rhdTY2OE8uyn8Yk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768938897; c=relaxed/simple; bh=g6sHea/KAFwpEd7flzRem9YK8r3ZWWcLAjUOIAh6xRA=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=QwTimNMj42N4plpcp75d8WTGhlSFCjZAmaaZRNe1yWc5OHm+U33JWRP6Jo0jVghGT2R0TSwO0t5f/8t/wnhy3ozxTk7sFv6eFIDgBIScRW5H97qPv96wE8SLyOYcZTfY003ufR2YTgj+qa7dQkL16IA0wyzkEswAxsfjPZV8ETE= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=zytor.com; spf=pass smtp.mailfrom=zytor.com; dkim=pass (2048-bit key) header.d=zytor.com header.i=@zytor.com header.b=gIy4FMKF; arc=none smtp.client-ip=198.137.202.136 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=zytor.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=zytor.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=zytor.com header.i=@zytor.com header.b="gIy4FMKF" Received: from mail.zytor.com ([IPv6:2601:646:8081:9483:12c5:bc8e:d949:3497]) (authenticated bits=0) by mail.zytor.com (8.18.1/8.17.1) with ESMTPSA id 60KJsD3A3899199 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Tue, 20 Jan 2026 11:54:20 -0800 DKIM-Filter: OpenDKIM Filter v2.11.0 mail.zytor.com 60KJsD3A3899199 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zytor.com; s=2025122301; t=1768938861; bh=zt7T/6XDlNvfV1mQ2N69K6rQQbZfmJFfaBmLXqu7Q1o=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=gIy4FMKF/fza2Kuytw7bD109DrS5ePisT5hH+Oqoai6K/s8i1FMHUiw6mPNkTajQq 9W6OW7gAo3GINqtipQ6sH2JdnHps8l2+p5yyAWgbPO7Sye2tSn2I1utkZBIzYbKBib RqiOTuh680ioPRfWyI5zdurBiQqzDZHQ1A25WotzwbyEWVoBaUY6zcQjjqV13rFHRE +pTofkb/cAvFz1T9HtYKoaUd7UTMSVqbM/M+Vf09fBs4+MUCmB8gl+6G/tU6SPeaEZ kt6oUHSJfWFWiowHGv9ZgTXCP7ezrF2Bby9e+M2X434K4TUfPVL9xP6AT4GRBwC4A5 FVH/pFPJKhH/w== From: "H. Peter Anvin" To: Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , Uros Bizjak , Petr Mladek , Andrew Morton , Kees Cook , "Peter Zijlstra (Intel)" , Nathan Chancellor , Kiryl Shutsemau , Rick Edgecombe Cc: "H. Peter Anvin" , linux-kernel@vger.kernel.org, linux-coco@lists.linux.dev, x86@kernel.org Subject: [PATCH v1 03/14] x86/boot: use Date: Tue, 20 Jan 2026 11:53:55 -0800 Message-ID: <20260120195407.1163051-4-hpa@zytor.com> X-Mailer: git-send-email 2.52.0 In-Reply-To: <20260120195407.1163051-1-hpa@zytor.com> References: <20260119192923.651588-1-hpa@zytor.com> <20260120195407.1163051-1-hpa@zytor.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Include in arch/x86/boot/boot.h and replace __attribute__((noreturn)) with __noreturn. Signed-off-by: H. Peter Anvin (Intel) Reviewed-by: Uros Bizjak --- arch/x86/boot/boot.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/x86/boot/boot.h b/arch/x86/boot/boot.h index f185931283cb..1f2b7252e387 100644 --- a/arch/x86/boot/boot.h +++ b/arch/x86/boot/boot.h @@ -18,6 +18,7 @@ =20 #ifndef __ASSEMBLER__ =20 +#include #include #include #include @@ -279,17 +280,16 @@ void console_init(void); void query_edd(void); =20 /* header.S */ -void __attribute__((noreturn)) die(void); +void __noreturn die(void); =20 /* memory.c */ void detect_memory(void); =20 /* pm.c */ -void __attribute__((noreturn)) go_to_protected_mode(void); +void __noreturn go_to_protected_mode(void); =20 /* pmjump.S */ -void __attribute__((noreturn)) - protected_mode_jump(u32 entrypoint, u32 bootparams); +void __noreturn protected_mode_jump(u32 entrypoint, u32 bootparams); =20 /* printf.c */ int sprintf(char *buf, const char *fmt, ...); --=20 2.52.0