From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ej1-f52.google.com (mail-ej1-f52.google.com [209.85.218.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1BF5C18E2A for ; Thu, 20 Mar 2025 12:56:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.52 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1742475388; cv=none; b=cLPbNM1Or3DGwptfyuWuOr4L3ZAUcJId/IwKGSzzWpFCVLcp21Hv2NrCrUd8u8Owz4LO1aeN5qLtQKmfi2HsXisSH05um/0xfARntkh/9aNUjS3MPlaO1vM8rEOt9llgHSWu3FVNi5mUxnnfF+SDcD70MFGA16uO3H/SVC0Volo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1742475388; c=relaxed/simple; bh=zTnXAKmTuZRtU1d1p7Q5TlC/BTFpcP/VJalqvVhGyj8=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=MU3NJ5JK4+pPZ3oxaHiT8dEakccmda+vk25VSuYhZsTo5bL0+EXTvmXU9yZxavQNoEkReMjOjea2XjijDc5TQaWmiUQ30fpPUzdDOK3PuH0IjqzjvCtuqrwyg8O5LW/X7M44gMK02uO+kpa4FudjY4+9ZcYtWrc3lCUhBEMT4yU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=tjFExFxj; arc=none smtp.client-ip=209.85.218.52 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="tjFExFxj" Received: by mail-ej1-f52.google.com with SMTP id a640c23a62f3a-abf3d64849dso135439866b.3 for ; Thu, 20 Mar 2025 05:56:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1742475384; x=1743080184; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=HTiBMnvR5EfiapTBlQ2zIHklJYLCh/G/HYnYPld7nw4=; b=tjFExFxjbUzksAmUGKs8bktnIAL/dOdAIUu3uNWvSMhjDPsaW4uoHKutafmN0FVyLh ekTaSBtt9wKZaKYmJXpK72UxQPHEy43whWsR5evtAvjC5huZNbQpB/CNjzTIrri7rh8N diz+e0BKg56edVlYvqArZmvLOH0LrYe0k9nLU2dZ1ljZgq1r8uSbf1ewL53kyVpOPUx9 gxN58T0N5A+uOB5eEIPVPYJGOaFcoKgI6B3HpwjjRafAzpyBDJq/2dj8u+BKcU5yNKmM Tu6DTpMrgszaMYb8navO0fLM09oejSADZEt4fhIqYfO9mKU0yz6YpXRmSxwMjAYWM6dE 6TXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742475384; x=1743080184; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=HTiBMnvR5EfiapTBlQ2zIHklJYLCh/G/HYnYPld7nw4=; b=K9mSF3KtJDd7OoI/Dthe0G8/JP5Kk0qGwkuj76vrnidSsu3RMhspzIFk64K33ixBbe PDZHKcAMztsbPbbtRFvo/51hiZ1BdXwN9XxJAKs9TZQIhpfcxnBeuvTeE2j5Ya7i/nZl klNLUS9ZF3oChaQcY7c+Nh4h7o3i2Ibcn66ioCP00hQF9/wPgMaAS7Paogy4/I7AmWM1 XoqTfO8e5jm8YTB6sIxBsqc4OznwyvT/Su0FtvJibnwGe2VaVB1z5Lecw6FiYQlBFjO5 f8fQrPkhJKiYGMy87D88zSGhvxAYJF2Xbzjn/hhy+6R7Qgce9xnsmrVHbCTLWJS7E8fk xMBg== X-Forwarded-Encrypted: i=1; AJvYcCUrgfKouYsyvQBwitxms9Z0UXsvTaRpi3V2xBfRSJtcHWI29EUe6bti/+1z/8RrGFfWqMjy8EEd8Gi0+Zg=@vger.kernel.org X-Gm-Message-State: AOJu0YwSsWI/KeDF6Lzx6Smy1kWB0YlIIXsIreLQ5kVJEtFcqj2wEd49 VOFN9rWSATPE1lPM9f/1KSc2E1JpGQf58Zb36RlgLIRyCVp38qIJJCJ9kKsnSQ4= X-Gm-Gg: ASbGncvgYxZTSZOKgQMaNfxPoPAwZqyOc3WVDhH6MGsK0dBvWawa4mtcNCkuJt1WTkb Z6PvgQK1pA1jXUH+at+JnIlLu21u+vDBC+f3zA+NbSXDtyimde2yCx8ewOUSy5YSUppJjvNq+qy 5TnnPqSEEKq1ISGmQoqtGKAliletrzINUUAhcG0RkzKlFZ+sm3OkYizZ0vxXCCRQfUPT+go8g4K Hzb457a2N37MCRVprBnDDPkQMqK9wVhs9SdEzZtT7uY5bcdqTg+qND129fc25hB8vPkD4PiggIh Q7Vqk/Wz0JpatRO6cc/bD41rAWyWM2DTKWc5joOchEYHICexTucAkTL/oH7SqmKrI07DqNpVONy HwazHvRIgKtue X-Google-Smtp-Source: AGHT+IFwbUtBKy1cKZpiAYgKgI/ab8Fj6ZMme+dS/eEmYErdP1Yx16iHt4BcTPb5hz8rYdlEnkXIEA== X-Received: by 2002:a17:907:f50a:b0:ac3:45c0:6d08 with SMTP id a640c23a62f3a-ac3b7373065mr786509366b.0.1742475384270; Thu, 20 Mar 2025 05:56:24 -0700 (PDT) Received: from [192.168.69.235] (88-187-86-199.subs.proxad.net. [88.187.86.199]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-ac3146af080sm1155354066b.31.2025.03.20.05.56.23 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 20 Mar 2025 05:56:23 -0700 (PDT) Message-ID: <817c02a0-5493-419a-9663-73a85182b047@linaro.org> Date: Thu, 20 Mar 2025 13:56:22 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 19/41] mips: Replace __ASSEMBLY__ with __ASSEMBLER__ in the mips headers To: Thomas Huth , linux-kernel@vger.kernel.org Cc: Arnd Bergmann , linux-arch@vger.kernel.org, Thomas Bogendoerfer , linux-mips@vger.kernel.org References: <20250314071013.1575167-1-thuth@redhat.com> <20250314071013.1575167-20-thuth@redhat.com> Content-Language: en-US From: =?UTF-8?Q?Philippe_Mathieu-Daud=C3=A9?= In-Reply-To: <20250314071013.1575167-20-thuth@redhat.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 14/3/25 08:09, Thomas Huth wrote: > While the GCC and Clang compilers already define __ASSEMBLER__ > automatically 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. So let's standardize on > the __ASSEMBLER__ macro that is provided by the compilers now. > > This is almost a completely mechanical patch (done with a simple > "sed -i" statement), with just one comment tweaked manually in > arch/mips/include/asm/cpu.h (that was missing some underscores). > > Cc: Thomas Bogendoerfer > Cc: linux-mips@vger.kernel.org > Signed-off-by: Thomas Huth > --- > arch/mips/include/asm/addrspace.h | 4 +-- > arch/mips/include/asm/asm-eva.h | 6 ++-- > arch/mips/include/asm/asm.h | 8 ++--- > arch/mips/include/asm/bmips.h | 4 +-- > arch/mips/include/asm/cpu.h | 4 +-- > arch/mips/include/asm/dec/ecc.h | 2 +- > arch/mips/include/asm/dec/interrupts.h | 4 +-- > arch/mips/include/asm/dec/kn01.h | 2 +- > arch/mips/include/asm/dec/kn02.h | 2 +- > arch/mips/include/asm/dec/kn02xa.h | 2 +- > arch/mips/include/asm/eva.h | 4 +-- > arch/mips/include/asm/ftrace.h | 4 +-- > arch/mips/include/asm/hazards.h | 4 +-- > arch/mips/include/asm/irqflags.h | 4 +-- > arch/mips/include/asm/jazz.h | 16 ++++----- > arch/mips/include/asm/jump_label.h | 4 +-- > arch/mips/include/asm/linkage.h | 2 +- > arch/mips/include/asm/mach-generic/spaces.h | 4 +-- > arch/mips/include/asm/mips-boards/bonito64.h | 4 +-- > arch/mips/include/asm/mipsmtregs.h | 6 ++-- > arch/mips/include/asm/mipsregs.h | 6 ++-- > arch/mips/include/asm/msa.h | 4 +-- > arch/mips/include/asm/pci/bridge.h | 4 +-- > arch/mips/include/asm/pm.h | 6 ++-- > arch/mips/include/asm/prefetch.h | 2 +- > arch/mips/include/asm/regdef.h | 4 +-- > arch/mips/include/asm/sibyte/board.h | 4 +-- > arch/mips/include/asm/sibyte/sb1250.h | 2 +- > arch/mips/include/asm/sibyte/sb1250_defs.h | 6 ++-- > arch/mips/include/asm/smp-cps.h | 6 ++-- > arch/mips/include/asm/sn/addrs.h | 18 +++++----- > arch/mips/include/asm/sn/gda.h | 4 +-- > arch/mips/include/asm/sn/kldir.h | 4 +-- > arch/mips/include/asm/sn/klkernvars.h | 4 +-- > arch/mips/include/asm/sn/launch.h | 4 +-- > arch/mips/include/asm/sn/nmi.h | 8 ++--- > arch/mips/include/asm/sn/sn0/addrs.h | 14 ++++---- > arch/mips/include/asm/sn/sn0/hub.h | 2 +- > arch/mips/include/asm/sn/sn0/hubio.h | 36 ++++++++++---------- > arch/mips/include/asm/sn/sn0/hubmd.h | 4 +-- > arch/mips/include/asm/sn/sn0/hubni.h | 6 ++-- > arch/mips/include/asm/sn/sn0/hubpi.h | 4 +-- > arch/mips/include/asm/sn/types.h | 2 +- > arch/mips/include/asm/sync.h | 2 +- > arch/mips/include/asm/thread_info.h | 4 +-- > arch/mips/include/asm/unistd.h | 4 +-- > arch/mips/include/asm/vdso/gettimeofday.h | 4 +-- > arch/mips/include/asm/vdso/processor.h | 4 +-- > arch/mips/include/asm/vdso/vdso.h | 4 +-- > arch/mips/include/asm/vdso/vsyscall.h | 4 +-- > arch/mips/include/asm/xtalk/xtalk.h | 4 +-- > arch/mips/include/asm/xtalk/xwidget.h | 4 +-- > drivers/soc/bcm/brcmstb/pm/pm.h | 2 +- > 53 files changed, 140 insertions(+), 140 deletions(-) Reviewed-by: Philippe Mathieu-Daudé