From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 82FBD3B42E5 for ; Mon, 22 Jun 2026 13:50:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782136220; cv=none; b=CqUEQ21X5LygzytrJBma8zpCYVhjJrXy5TwX06QhYt0JUT+8rERonSZpNq9LCiAKURi+lQHbAK2vBO3CRjYKO8zW89O1YlzqjrMoJjNfJ2q1EL6qQl0DYr97sIsFoKIwVTYkKDh21dpAoPJEaLvU9Re9cWXYT/yo6voHkGgrWWw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782136220; c=relaxed/simple; bh=k0GgUc9CgcLy78F7LPaTI7qEksidtvlU7KT2q+3dx9U=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=hm8bkYmMuLQk10XmmfVXTXGxAFYjACNXykliqPyRcsn1KC/+ZVSSrtA2q889vSYjXtGVh93f+GNrI8RnKb4PKvpqPiN830PoOL3E32j7SUn4/HufDbF+kUSQtpjvo5kF9kreggOvxGXqSeOP60EEzRcLOXlwmQo3WM7d4vzc/IA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=opzebwG3; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="opzebwG3" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 15F3A1F00A3A; Mon, 22 Jun 2026 13:50:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1782136219; bh=5GIZ0EvmyeofZt+KuGK8sX+zOx16/K5vzQf48c5oMdk=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=opzebwG3oAXni6Y5t9ueUfnK4xbyCh7wU4VKChfS6E52l7lSaGYh8V7YDMvZCeTBE C47DgCbxkmux999t+LrgA/WGUI5EvxOGLQ/t12sOqHyPCnGUrarWgFpVyDVAWzG0FJ xR6b1ITL+oieMTR7yHVOQgnvA2aVeIW+ZuIJcIGY8+HQlN8uP3S0+CPQbWrmDxgS+Y Be2L9kC2bYE+APN1dk6d8HdCY/JNWjJsDbVMaWwCMCwGZpcmByx32WbFAttucYNlJQ WfdWBFwrAgb1hL8D9+/ptzG70B7iVTkCeCmeG57r7BXTqees/sG8zKppymbVZWbEuh FG51W7hq+60EQ== From: Pratyush Yadav To: Thomas Huth Cc: Andrew Morton , Baoquan He , Mike Rapoport , Pasha Tatashin , Pratyush Yadav , kexec@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] kexec: Replace __ASSEMBLY__ with __ASSEMBLER__ in header file In-Reply-To: <20260619160654.75980-1-thuth@redhat.com> (Thomas Huth's message of "Fri, 19 Jun 2026 18:06:54 +0200") References: <20260619160654.75980-1-thuth@redhat.com> Date: Mon, 22 Jun 2026 15:50:16 +0200 Message-ID: <2vxzik7aofaf.fsf@kernel.org> User-Agent: Gnus/5.13 (Gnus v5.13) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain On Fri, Jun 19 2026, Thomas Huth wrote: > From: Thomas Huth > > 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. Sounds reasonable. Acked-by: Pratyush Yadav > > Signed-off-by: Thomas Huth [...] -- Regards, Pratyush Yadav