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.133.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 C71863B52F7 for ; Thu, 9 Apr 2026 09:47:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775728061; cv=none; b=D3KJXF8Ytpl9b2fr7V4XIzTxtOB0EuGn0Oca+/f7bMC7YP9wtRsVhjrQ0NGUL0YQ0WNyxnfDFy3XR//wsnkRUfe7U9rJiX6vVq7aPAiYuAQkDnaTFO1vtIo34WWGDDVz/tRhIWQRT+pQcesdxcIQO4bYtAf5Z4yKwNZUx8As6b8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775728061; c=relaxed/simple; bh=SLUBpC0nROE+F+ngln2FhIM56MMxY0wCSQJzztq31QY=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=fQZYzQjJ99zHWlHYIcwozHK4m8fTdmHnfTWad9P4dXLQLWzX6OnL81H9Is8i7le3seFDJulzLXvwNKvAVFLJTxKwIq8+bg4hklLBWLMtRx9QvyP/BFtDxdQXenhDCkosSy7kti1K7DI3qDSCI6CAyRRVnNqJLaSSLdqHmB1Z5SI= 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=ZlAsytdw; arc=none smtp.client-ip=170.10.133.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="ZlAsytdw" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1775728058; 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=kVg6edoQorMeCoMACkk0AFRAfBI1RBVctWZ3uAReD2s=; b=ZlAsytdwoYVVnEkeUi2Hlten6qYLIEvgsF7tQVpHbZ/EaeJr0y29eklW+q02z5OYjsxKJ0 XOxFWqAKmp0Ll7XaBW5T4cu1vPlNNacqkUpSbPtDntsC8zmYkhPTTjIXIXb5GYn/EikpUG JwDiMWDL3RWkcmRx+mwzhGj7Dx4WpKU= Received: from mx-prod-mc-01.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-346-1FvadW6DOBm_PfehnCqemQ-1; Thu, 09 Apr 2026 05:47:35 -0400 X-MC-Unique: 1FvadW6DOBm_PfehnCqemQ-1 X-Mimecast-MFC-AGG-ID: 1FvadW6DOBm_PfehnCqemQ_1775728054 Received: from mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.4]) (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-01.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 04D4619560AA; Thu, 9 Apr 2026 09:47:34 +0000 (UTC) Received: from thuth-p1g4.redhat.com (unknown [10.44.48.155]) by mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 20ADB30001BE; Thu, 9 Apr 2026 09:47:29 +0000 (UTC) From: Thomas Huth To: Arnd Bergmann Cc: linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kbuild@vger.kernel.org, Thomas Huth , Brian Cain , linux-hexagon@vger.kernel.org Subject: [PATCH v5 3/8] hexagon: Replace __ASSEMBLY__ with __ASSEMBLER__ in uapi headers Date: Thu, 9 Apr 2026 11:47:03 +0200 Message-ID: <20260409094708.1687376-4-thuth@redhat.com> In-Reply-To: <20260409094708.1687376-1-thuth@redhat.com> References: <20260409094708.1687376-1-thuth@redhat.com> Precedence: bulk X-Mailing-List: linux-arch@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.4 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/include/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 -#ifndef __ASSEMBLY__ +#ifndef __ASSEMBLER__ /* See kernel/entry.S for further documentation. */ @@ -224,6 +224,6 @@ struct pt_regs { (regs)->hvmer.vmest = (HVM_VMEST_UM_MSK << HVM_VMEST_UM_SFT) \ | (HVM_VMEST_IE_MSK << HVM_VMEST_IE_SFT) -#endif /* ifndef __ASSEMBLY */ +#endif /* ifndef __ASSEMBLER__ */ #endif -- 2.53.0