From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (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 221EF1C862D for ; Tue, 21 Apr 2026 14:27:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.129.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776781631; cv=none; b=eIwlBsAaog6FtNKsIpT/OGdhs36MAs44e0n0YG3+e8zjKPsttwSo2la+ZVvhm+f0vWFSyNBWaii6040SYZf3iAi0goKQbKtTn+pcdfCenPCOfL+5wO6xudUKf3EeEEEE4VzMglozDlhRKBONE/TJyzcLTwjjAdbfsXrgSw+zZs8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776781631; c=relaxed/simple; bh=mDquEW+cdHiJDsRNk5opdw6eq1KNCtmbmddPJTngflI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=SKLlBfGF378vZOix9uYuCed2qLgAZaTTIBCHSOuKP2PweedBADiDNuEV2uDLm+vngfsHHcQIQeiuVacNsH0tWQ//GQ85IWkTvxbpSA0pPLYqMA4AwGfHF9iZv/tYBgcDItxScgUmrkfvfd2C+mBunWvmceu9/fUH2lh/2OYyyAM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=EhD9oMZ/; arc=none smtp.client-ip=170.10.129.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="EhD9oMZ/" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1776781629; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=K8OFS7cyWvYenINAYlZhvmiwwCjJ2oV+n9qF7Hqe8c0=; b=EhD9oMZ/UZv9Tz6oRXCnWXlGDPY44GYbsrAdDO5LzoC7KpqonURWI5fi62bnr6m4XqMLYS pEs5IzcVgxZnqtUGjkMc2Ez2yq43uv96r0dSvU7qq+5ySKSwbfYLll5zeiluEWnzMY9vxq +Dsdn6WYT/wCe3smG/GNFQgeHcUbPMw= Received: from mx-prod-mc-05.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-673-aNzvu0kYNpe-BCfSi7bC5Q-1; Tue, 21 Apr 2026 10:27:05 -0400 X-MC-Unique: aNzvu0kYNpe-BCfSi7bC5Q-1 X-Mimecast-MFC-AGG-ID: aNzvu0kYNpe-BCfSi7bC5Q_1776781624 Received: from mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.93]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-05.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 95FF91956089; Tue, 21 Apr 2026 14:27:04 +0000 (UTC) Received: from thuth-p1g4.redhat.com (unknown [10.44.49.140]) by mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 7BDB4180047F; Tue, 21 Apr 2026 14:27:02 +0000 (UTC) From: Thomas Huth To: Juergen Gross , Stefano Stabellini Cc: Oleksandr Tyshchenko , xen-devel@lists.xenproject.org, linux-kernel@vger.kernel.org Subject: [PATCH] xen/arm: Replace __ASSEMBLY__ with __ASSEMBLER__ in interface.h Date: Tue, 21 Apr 2026 16:27:01 +0200 Message-ID: <20260421142701.548978-1-thuth@redhat.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.93 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. Signed-off-by: Thomas Huth --- Note: This patch has been split from an earlier patch series of mine to ease reviewing. include/xen/arm/interface.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/xen/arm/interface.h b/include/xen/arm/interface.h index c3eada2642aa9..61360b89da405 100644 --- a/include/xen/arm/interface.h +++ b/include/xen/arm/interface.h @@ -30,7 +30,7 @@ #define __HYPERVISOR_platform_op_raw __HYPERVISOR_platform_op -#ifndef __ASSEMBLY__ +#ifndef __ASSEMBLER__ /* Explicitly size integers that represent pfns in the interface with * Xen so that we can have one ABI that works for 32 and 64 bit guests. * Note that this means that the xen_pfn_t type may be capable of -- 2.53.0