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 78972346A0C for ; Fri, 21 Aug 2026 08:37:02 +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=1787301423; cv=none; b=TXsVQHmZ1AnjaZc1i84iqVI+82gZ9mIMIlFEJQfn9rkVSYkduVoatmv/fJhRovda/jvCGonzRifOOg5uQE6K3eLSMh8qnHkU+9xNIFi7cydQSgPZwQAcHi5Sb626tD0LoaS0nbifx3Ubf8xgOmJKBZ+nSdy/7B8QcToTK2fKnr0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787301423; c=relaxed/simple; bh=eUs1cD0giZkhzS2tUk/547HVhmFfCydBuDBgOLJFqLA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Vu65vsZrqgBtFOYpAEdBLfPd9Zm3K/AbMOsZszixbUi4eQB8NwMMzDOXFeLz4qsxAf1IZcOVmxchEcLc8YsfoeGCukLp2k037yoN6dvDrod1aj4GqByeNq8Fr/vLjpHhKWsfc+dBEf1NaLtTv99fkflHEXk9gy8ON4X/ecpiPI0= 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=P+CMmNGH; 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="P+CMmNGH" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1787301421; 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=aO6AF+46Z3abPVk6pYW+WEXPhQwtSzKfUo43A2J5AZk=; b=P+CMmNGH9Fp+yO6LT/L8O3iqSQysgnDcugFfM7ciC77QxIS0dEu86RueCqqJSSX86ML/aR KGiICoZ0IUZtdrVI+0fgSDrhYpH6hI0xCNntU//7ytKOIgchDWPDZZTuIV4Tgbzuw9zEXS 8qBuA6TY7fmAr1suFX9FbnX4mc+R24g= Received: from mx-prod-mc-06.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-475-PyzFUmBQOrGxxMAwoQFyGA-1; Fri, 21 Aug 2026 04:36:53 -0400 X-MC-Unique: PyzFUmBQOrGxxMAwoQFyGA-1 X-Mimecast-MFC-AGG-ID: PyzFUmBQOrGxxMAwoQFyGA_1787301412 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-06.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 5BF0A18001E6; Fri, 21 Aug 2026 08:36:51 +0000 (UTC) Received: from thuth-p1g4.redhat.com (unknown [10.44.32.129]) by mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 829CD180049F; Fri, 21 Aug 2026 08:36:46 +0000 (UTC) From: Thomas Huth To: Nicolas Ferre , Alexandre Belloni , Claudiu Beznea Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] ARM: at91: Replace __ASSEMBLY__ with __ASSEMBLER__ Date: Fri, 21 Aug 2026 10:36:45 +0200 Message-ID: <20260821083645.200344-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 While the GCC and Clang compilers already define __ASSEMBLER__ auto- matically 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. Let's standardize now on the __ASSEMBLER__ macro to avoid this confusion. Signed-off-by: Thomas Huth --- Note: This has been split from an earlier bigger patch of mine into a separate patch to ease reviewing arch/arm/mach-at91/pm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-at91/pm.h b/arch/arm/mach-at91/pm.h index 50c3a425d1400..2193e1ab98476 100644 --- a/arch/arm/mach-at91/pm.h +++ b/arch/arm/mach-at91/pm.h @@ -25,7 +25,7 @@ #define AT91_PM_ULP1 0x03 #define AT91_PM_BACKUP 0x04 -#ifndef __ASSEMBLY__ +#ifndef __ASSEMBLER__ struct at91_pm_data { void __iomem *pmc; void __iomem *ramc[2]; -- 2.55.0