From nobody Tue Dec 2 01:51:44 2025 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 C114F34BA31 for ; Fri, 21 Nov 2025 10:01:17 +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=1763719279; cv=none; b=V6E9sZ51EQFb1sll+hzOpyZ36AhIYk63fM0pxDdRgnuBOxLFhqGxC4Z0jH9WeQP/IyuMSQdSloOjfD6OHqoD0km6uT9s1yvpNjbc5Or8/wkZ89TiegP1LlOT75mpp2vhULZsOF5ZUtsZxSCH78fOZxy204qWUt9pfld8/7MaXk8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763719279; c=relaxed/simple; bh=L4YFaTnsWWe+GAcc9P2MJG61bNdoHxPJA91P9A0Oq0c=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=KVmkJrCj/LP4NloQPpBTQH1bD+RFcsFwtUghAXVhGMYMxvBnyvhvmgvE7TZgBpYm/Zs7KeTNd7baopxhc5Ac9L63Aed0u/W7yMSDJeEYQe7qD8oxp0huaO+os7yEOiInYOv/0of88WQ/KS0nFeW3Ri+XVUJGtfjNi93qYXaY7z8= 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=VEspEJ60; 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="VEspEJ60" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1763719276; 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: in-reply-to:in-reply-to:references:references; bh=PyxNrZrZ4s0Cafl08yElNbsFTtb9GtmPPWVKnhiFUv0=; b=VEspEJ607Fb/3xt4etQZNCQebB8Ft61LoiL4Hzrkn60SpFZlWsPrqkuUhvMlfzOMSONfQY 8CxrjBle4DEBEvbUuCa0fmSvu4nFmwPRZUs97g+jdR1+pa4dShkyIPpLHDNq/xr2wO+xEL 1Sc7EqrwxdGp4FtwxiBUrLpm38tvNSM= 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-27-k3_x5bMqM3ipcdFdaf01Qg-1; Fri, 21 Nov 2025 05:01:14 -0500 X-MC-Unique: k3_x5bMqM3ipcdFdaf01Qg-1 X-Mimecast-MFC-AGG-ID: k3_x5bMqM3ipcdFdaf01Qg_1763719273 Received: from mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.12]) (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 1507619560BC; Fri, 21 Nov 2025 10:01:13 +0000 (UTC) Received: from thuth-p1g4.redhat.com (unknown [10.44.32.78]) by mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id CB4131955F66; Fri, 21 Nov 2025 10:01:09 +0000 (UTC) From: Thomas Huth To: Arnd Bergmann , linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, linux-kbuild@vger.kernel.org, Thomas Huth , Brian Cain , linux-hexagon@vger.kernel.org Subject: [PATCH v4 4/9] hexagon: Replace __ASSEMBLY__ with __ASSEMBLER__ in uapi headers Date: Fri, 21 Nov 2025 11:00:39 +0100 Message-ID: <20251121100044.282684-5-thuth@redhat.com> In-Reply-To: <20251121100044.282684-1-thuth@redhat.com> References: <20251121100044.282684-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: quoted-printable X-Scanned-By: MIMEDefang 3.0 on 10.30.177.12 Content-Type: text/plain; charset="utf-8" From: Thomas Huth __ASSEMBLY__ is only defined by the Makefile of the kernel, so this is not really useful for uapi headers (unless the userspace Makefile defines it, too). Let's switch to __ASSEMBLER__ which gets set automatically by the compiler when compiling assembly code. Cc: Brian Cain Cc: linux-hexagon@vger.kernel.org Signed-off-by: Thomas Huth --- arch/hexagon/include/uapi/asm/registers.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/hexagon/include/uapi/asm/registers.h b/arch/hexagon/inclu= de/uapi/asm/registers.h index d51270f3b3582..8f73d41651e87 100644 --- a/arch/hexagon/include/uapi/asm/registers.h +++ b/arch/hexagon/include/uapi/asm/registers.h @@ -7,7 +7,7 @@ #ifndef _ASM_REGISTERS_H #define _ASM_REGISTERS_H =20 -#ifndef __ASSEMBLY__ +#ifndef __ASSEMBLER__ =20 /* See kernel/entry.S for further documentation. */ =20 @@ -224,6 +224,6 @@ struct pt_regs { (regs)->hvmer.vmest =3D (HVM_VMEST_UM_MSK << HVM_VMEST_UM_SFT) \ | (HVM_VMEST_IE_MSK << HVM_VMEST_IE_SFT) =20 -#endif /* ifndef __ASSEMBLY */ +#endif /* ifndef __ASSEMBLER__ */ =20 #endif --=20 2.51.1