From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id AA886C5DF87 for ; Fri, 21 Aug 2026 08:42:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:content-type: Content-Transfer-Encoding:MIME-Version:Message-ID:Date:Subject:Cc:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=axYAbxgN4rWr3yE/XLmcTmzIxDgI6Qee2d77gdBaz84=; b=ToqgwX1nXn1zHBjVG62SK8gGz+ U2KQU1hJSR+/srDyAsXbOmHzo+EHK53zu+cwseSNRUJ1ruT8tdi9QNcFA5AU9ys/IA/VSyMaV0uv+ g1/Mg9FhohxhXcOW5PSOSUAi9pNBTEaVwyH7UxVEPi/q8rgY/7aTO/NZHHj5QegWrA7szlYRmvtLD 0lbAQY+oYsXyrgbmRxjrXGVSq06QHM2UdeywwNbPbnvSS449GPPzLz3J7s2mR1nEt+G/vQYWIj6kt aqzcvKmmiy2PT/0coPHZuy+o50t0M8bKeHsV128SP3bgUKylO6vY5VULvvTzy9XnwGY9oBVVFytAd T6uY74FQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux)) id 1wxKp5-0000000Cooc-1bRd; Fri, 21 Aug 2026 08:41:59 +0000 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]) by bombadil.infradead.org with esmtps (Exim 4.99.1 #2 (Red Hat Linux)) id 1wxKp3-0000000CooC-0gF7 for linux-arm-kernel@lists.infradead.org; Fri, 21 Aug 2026 08:41:58 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1787301715; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=axYAbxgN4rWr3yE/XLmcTmzIxDgI6Qee2d77gdBaz84=; b=YK8Lu43Ai5XDXpJmvaKLT4KSrDEuBjbLCf7sEr+CxL7VsnFOLVK0ZH2OnvYPR26eMXydqX cX08HFUr6szRdvmKTulDknt6KdaSuQSVY7NYSSTQGI7HOf5zbdWYvsoG3cj0tn3Km6PWzr UYqmT9If6gKVZW+u5mSIJeBCliS7TC4= 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-282-DA5mkosfPF-tGq9exM5ovA-1; Fri, 21 Aug 2026 04:41:51 -0400 X-MC-Unique: DA5mkosfPF-tGq9exM5ovA-1 X-Mimecast-MFC-AGG-ID: DA5mkosfPF-tGq9exM5ovA_1787301710 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-08.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id CAC9A18002C4; Fri, 21 Aug 2026 08:41:49 +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 0AFA0180049F; Fri, 21 Aug 2026 08:41:46 +0000 (UTC) From: Thomas Huth To: Florian Fainelli , Broadcom internal kernel review list Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] ARM: BCM7XXX: Replace __ASSEMBLY__ with __ASSEMBLER__ Date: Fri, 21 Aug 2026 10:41:45 +0200 Message-ID: <20260821084145.207635-1-thuth@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.93 X-Mimecast-MFC-PROC-ID: -5cZyUAn6ktNKaDnCCu9QvEfFbrxDZrj88sgbT6aCyI_1787301710 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: 8bit content-type: text/plain; charset="US-ASCII"; x-default=true X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20260821_014157_277359_724FEF2F X-CRM114-Status: GOOD ( 13.38 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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/include/asm/hardware/cache-b15-rac.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/include/asm/hardware/cache-b15-rac.h b/arch/arm/include/asm/hardware/cache-b15-rac.h index 3d43ec06fd359..b96365bfb2a87 100644 --- a/arch/arm/include/asm/hardware/cache-b15-rac.h +++ b/arch/arm/include/asm/hardware/cache-b15-rac.h @@ -1,7 +1,7 @@ #ifndef __ASM_ARM_HARDWARE_CACHE_B15_RAC_H #define __ASM_ARM_HARDWARE_CACHE_B15_RAC_H -#ifndef __ASSEMBLY__ +#ifndef __ASSEMBLER__ void b15_flush_kern_cache_all(void); -- 2.55.0