From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mout-p-202.mailbox.org (mout-p-202.mailbox.org [80.241.56.172]) (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 186D6434E2B for ; Tue, 11 Aug 2026 13:07:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=80.241.56.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786453627; cv=none; b=dWo91p3pxbtIgIkIVwMIVZ2oBW2TPTPVrj47M81g6CSWff3o0/b7j1FCR+iocVupXEkkb8NIOzy7cYzzctvlxHrVmIqJQlHiB/sruSsgrwxA00l5gJVay/oZrPhN9vMaNmxOpj2JD1DstAsrdPUBdgmGy3CSJZrEqJi9LvJDNX0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786453627; c=relaxed/simple; bh=GRs1qHAKUbmj1qbU05mfeE9X+QSpBqKUg9pqwr06zks=; h=Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References: Content-Type:MIME-Version; b=rX/5FJiwNuh5QwA67vClv28mKnPZxwSjnU8U2g5HyIl+L9V+joVFmU5fydmCKQExDusOm3/+31Kk8L/TZYLSOAttZwcWbTbGxuT82V7NJNbt+b+DeVeNaMfsYMBvGjn4dqzr4qMcLy+oamR21/+IlJcPIPqPm8EbVSFiSNX2CN0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=mailbox.org; spf=pass smtp.mailfrom=mailbox.org; dkim=pass (2048-bit key) header.d=mailbox.org header.i=@mailbox.org header.b=JQ1nQi5I; dkim=pass (2048-bit key) header.d=mailbox.org header.i=@mailbox.org header.b=wQ6xxlOA; arc=none smtp.client-ip=80.241.56.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=mailbox.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=mailbox.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=mailbox.org header.i=@mailbox.org header.b="JQ1nQi5I"; dkim=pass (2048-bit key) header.d=mailbox.org header.i=@mailbox.org header.b="wQ6xxlOA" Received: from smtp202.mailbox.org (smtp202.mailbox.org [IPv6:2001:67c:2050:b231:465::202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-202.mailbox.org (Postfix) with ESMTPS id 4hKBjM3GxwzMlLS; Tue, 11 Aug 2026 15:07:03 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1786453623; h=from:from: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=o/b7IHRgv/SydrxmduTvGDuruQWTH3qHP71h2Y5Y8yA=; b=JQ1nQi5II0ZDO4828A7I4KfBv/Q+YhvH5R3DHRkSPAN9XYnnHofACjJaqkwNh5Cwzv1pRC NSO2gtyg/YA7mQGl9I8izwJJ+FxMy8uqUK4/NyIs5+wM8Z3q0dJUja4mU4fp1GAZahYPAh O6kjsyIvsXTe8VsV8QlntBKnhoRRpoKNOXtYg5c6j64MIcIRGYksBuEbw+2PYetZVC9Bo/ mMHNf8zsInHVLDHSqt/K+TZJ7skGCo4+GQl9ff/00aNV/HkUR2C1e8DgQT/bTQdC3HtvpQ 6BPwFezF9yWfE5G+UUqKj8ZXktP9TCKscIexg9C4Edqz8Zto/bdUggnYGIQMzA== Authentication-Results: outgoing_mbo_mout; dkim=pass header.d=mailbox.org header.s=mail20150812 header.b=wQ6xxlOA; spf=pass (outgoing_mbo_mout: domain of manuelebnerli@mailbox.org designates 2001:67c:2050:b231:465::202 as permitted sender) smtp.mailfrom=manuelebnerli@mailbox.org Message-ID: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1786453621; h=from:from: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=o/b7IHRgv/SydrxmduTvGDuruQWTH3qHP71h2Y5Y8yA=; b=wQ6xxlOAipdosQ8+l5OTUpcbzAH4Wfi6y3SgSnxwb3xVwDKSJv1DnCODwJqbA1bg8v2Ofd JxsUf91/mqenNRu2Npo6IS5mzHUGwHukTW63I3D0uWeuXRa//ODxgfB/e4JTKbfSZUkZQE cp3UI+DFQrtH30lcIndEZ3Xrz5oGpHfHjhzT8lchlCT1kr2xh8vqZkZpH3k/GGlLxteuka dbOwT9zmJOcShK06WAbA4L+FlGfCfTNy9xcRYIZCkVTF+esXJoza9xf+Mf57lScpCUc3RY NAga4b5EJXFxL8yYPz0TFZBg725zFTjPrB29Pzj4YaBbjRewGuVYyOTpA/bFVQ== Subject: Re: [PATCH] objtool: Replace __ASSEMBLY__ with __ASSEMBLER__ in header files From: Manuel Ebner To: Thomas Huth , Josh Poimboeuf , Peter Zijlstra Cc: linux-kernel@vger.kernel.org, Manuel Ebner Date: Tue, 11 Aug 2026 15:06:57 +0200 In-Reply-To: <20260619155733.58852-1-thuth@redhat.com> References: <20260619155733.58852-1-thuth@redhat.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MBO-RS-META: hj3rj3mtizqiiqcb8sd7gf534zk7cn69 X-MBO-RS-ID: 9f7555a6faf5793282b X-Rspamd-Queue-Id: 4hKBjM3GxwzMlLS Hi Thomas, I have been building the next kernel: Version: next-20260810 make defconfig make KCFLAGS=3D-Werror -j8 > make_output.txt I get following warning: Warning: Kernel ABI header at 'tools/include/linux/objtool_types.h' differ= s from latest version at 'include/linux/objtool_types.h' The build continues and succeeds. On Fri, 2026-06-19 at 17:57 +0200, Thomas Huth wrote: > From: Thomas Huth >=20 > While the GCC and Clang compilers already define __ASSEMBLER__ > automatically when compiling assembly code, __ASSEMBLY__ is a > macro that only gets defined by the Makefiles in the kernel. > This can be very confusing when switching between userspace > and kernelspace coding, or when dealing with uapi headers that > rather should use __ASSEMBLER__ instead. So let's standardize now > on the __ASSEMBLER__ macro that is provided by the compilers. >=20 > This is a completely mechanical patch (done with a simple "sed -i" > statement). This warning can be fixed OR shut down by updating tools/include/linux/objt= ool_types.h with the same replacement. >=20 > Signed-off-by: Thomas Huth > --- > =C2=A0Note: This patch has been split from an earlier bigger patch of > =C2=A0mine to ease reviewing. >=20 > =C2=A0include/linux/objtool.h=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 | 8 +++= +---- > =C2=A0include/linux/objtool_types.h | 4 ++-- Because of this file change I think this patch is related to the warning: Warning: Kernel ABI header at 'tools/include/linux/objtool_types.h' differ= s from latest version at 'include/linux/objtool_types.h' Please advice, Thanks. Manuel Ebner > =C2=A02 files changed, 6 insertions(+), 6 deletions(-) >=20 > diff --git a/include/linux/objtool.h b/include/linux/objtool.h > index 9a00e701454c5..af2e68e496e5d 100644 > --- a/include/linux/objtool.h > +++ b/include/linux/objtool.h > @@ -7,7 +7,7 @@ > =C2=A0 > =C2=A0#ifdef CONFIG_OBJTOOL > =C2=A0 > -#ifndef __ASSEMBLY__ > +#ifndef __ASSEMBLER__ > =C2=A0 > =C2=A0#define UNWIND_HINT(type, sp_reg, sp_offset, signal) \ > =C2=A0 "987: \n\t" \ > @@ -53,7 +53,7 @@ > =C2=A0 > =C2=A0#define __ASM_BREF(label) label ## b > =C2=A0 > -#else /* __ASSEMBLY__ */ > +#else /* __ASSEMBLER__ */ > =C2=A0 > =C2=A0/* > =C2=A0 * In asm, there are two kinds of code: normal C-type callable func= tions and > @@ -102,11 +102,11 @@ > =C2=A0#endif > =C2=A0.endm > =C2=A0 > -#endif /* __ASSEMBLY__ */ > +#endif /* __ASSEMBLER__ */ > =C2=A0 > =C2=A0#else /* !CONFIG_OBJTOOL */ > =C2=A0 > -#ifndef __ASSEMBLY__ > +#ifndef __ASSEMBLER__ > =C2=A0 > =C2=A0#define UNWIND_HINT(type, sp_reg, sp_offset, signal) "\n\t" > =C2=A0#define STACK_FRAME_NON_STANDARD(func) > diff --git a/include/linux/objtool_types.h b/include/linux/objtool_types.= h > index c6def4049b1ae..c24e9ea392696 100644 > --- a/include/linux/objtool_types.h > +++ b/include/linux/objtool_types.h > @@ -2,7 +2,7 @@ > =C2=A0#ifndef _LINUX_OBJTOOL_TYPES_H > =C2=A0#define _LINUX_OBJTOOL_TYPES_H > =C2=A0 > -#ifndef __ASSEMBLY__ > +#ifndef __ASSEMBLER__ > =C2=A0 > =C2=A0#include > =C2=A0 > @@ -18,7 +18,7 @@ struct unwind_hint { > =C2=A0 u8 signal; > =C2=A0}; > =C2=A0 > -#endif /* __ASSEMBLY__ */ > +#endif /* __ASSEMBLER__ */ > =C2=A0 > =C2=A0/* > =C2=A0 * UNWIND_HINT_TYPE_UNDEFINED: A blind spot in ORC coverage which c= an result in