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 047CA18CBF2 for ; Fri, 14 Mar 2025 07:11:25 +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=1741936287; cv=none; b=Mn2hQKdHgIhE5abHplReyTiZofOpFviK3Fm302lOUv/6v1WdxypQmY3oghUQpOvQbZf/m+Vm33C78KY2FdOpn9hWgaWlDjQ0kxlkHYldmI1aVLZ+ykpl/qVEnyZXKDpe9tn1CuEK5KOyvg0Jz5QnOs7dx9e5eomuSGsVgQQ35HY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1741936287; c=relaxed/simple; bh=o55pFbBKeqxHD3b1soefSqCbVwHw+HVgiSowtWeRh64=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=chcM5cB/tSRVA8IcaM4KVNcPvIGbpA6NNpwammKOFDIQ9+tP0+e5uaodX/EHWJZ9jlYt7ZF61K/zfoywY1xUMsIniPeSEC/hN79gzUqaRtrPCGzpypUN8RTTcsJg0UBGNl+OEycxuVuwI+8n9meDDbnE1STuGO9+BFRAgP6N8Ns= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none 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=irERaw1s; arc=none smtp.client-ip=170.10.129.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none 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="irERaw1s" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1741936285; 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=te21+39xFgtn/zFXnP7rS+Zhsxf884DXL+6Yn2+hEu0=; b=irERaw1s47lqxAIWcKWbfTQjgFdJVQ9BVNyKFiQwglQR/o0x1AX8oJWv3XJhGsITlKIiX8 IK/CvrU7ZA+asrxzGejuQpHPZ6hJpnmZptohPvqY1lC2gJElZeNY9kj6h9QtV3Hftdkpd2 0fQ788aMP4RlXVpROb14EnIYYp3Agn0= Received: from mx-prod-mc-08.mail-002.prod.us-west-2.aws.redhat.com (ec2-35-165-154-97.us-west-2.compute.amazonaws.com [35.165.154.97]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-647-ejkJSGnZNk6h1TntptULXw-1; Fri, 14 Mar 2025 03:11:22 -0400 X-MC-Unique: ejkJSGnZNk6h1TntptULXw-1 X-Mimecast-MFC-AGG-ID: ejkJSGnZNk6h1TntptULXw_1741936281 Received: from mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.111]) (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-08.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id BC63D1809CA6; Fri, 14 Mar 2025 07:11:21 +0000 (UTC) Received: from thuth-p1g4.redhat.com (unknown [10.44.32.82]) by mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id D89E218001D4; Fri, 14 Mar 2025 07:11:18 +0000 (UTC) From: Thomas Huth To: linux-kernel@vger.kernel.org Cc: Arnd Bergmann , linux-arch@vger.kernel.org, Thomas Huth , Brian Cain , linux-hexagon@vger.kernel.org Subject: [PATCH 12/41] hexagon: Replace __ASSEMBLY__ with __ASSEMBLER__ in uapi headers Date: Fri, 14 Mar 2025 08:09:43 +0100 Message-ID: <20250314071013.1575167-13-thuth@redhat.com> In-Reply-To: <20250314071013.1575167-1-thuth@redhat.com> References: <20250314071013.1575167-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.111 __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.48.1