From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (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 E9AE98C1F for ; Fri, 19 Jun 2026 22:36:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=90.155.92.199 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781908567; cv=none; b=HKQFIVRVBp/yNRGclYc/MVaD5Ih7GM0ujChjOsniF6w4cz12fsU+q717bhMCKQRY/jZN5FyQ/ujV7CLPcjDmi1PPSYx7bgwEuDVyH9aDmrshnaZp1jGWa5LPHG1p4USeXYbZd3fDXNHNQHqp6CJsxb1Jex8dpYCKFhnCM96ryPY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781908567; c=relaxed/simple; bh=kwu2gtdHxZoNXuYyX06y/Z3//XpNtdfzCnK37gbnOX0=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=YPzGlWpzhg60/wJU9UCzInM7SlzDqqXNWfuVlaJLffd/hZgvBd8Sg/YEB2YEYwaph/YfI66avOZ5dJiGYby170sLAzbivR37Q9RqABSIGW+Aq2XnwdT4cWfuOLbbtBWmprCT4K4sVu/6DZkuTvQVAcScyUbvaCkg503if2yKTVs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=infradead.org; spf=pass smtp.mailfrom=infradead.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b=Pihw98Os; arc=none smtp.client-ip=90.155.92.199 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=infradead.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="Pihw98Os" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=bOIYfPudrVQmQh2R4dfu1RFVvTUgEsMm4U0YVY+bwq4=; b=Pihw98OsuztGQv7on5WHIYkYGT n0SbJRgNbLJNpVc37+8aQABBUpL4FspRHidxgWnqImDcGALflZR0Uw0cgifKfGCvmGuBRPPP799Yh i8eUunCimvHzZxeT1eesOWlE+juBm/sxV/J5OtwDFdT0Mj1DZ63KBgMXNJZ5MEgAgv0+xlXIJYwjQ Y/e0//qBs1Vkbwau+IjeajdYgTAnEhrlRJv4vmtjq72uNjSdqnT/BFMUhsE7P79yb96jP4auydJ3y oq+CWRPaHYo8l0MDlJT6VlEGAJkknhx1EF/aHz3OcXsB+RnjRkEmnSO+ef7ZhZy27Kwymq3rHlUuZ v55RAFKg==; Received: from 77-249-17-252.cable.dynamic.v4.ziggo.nl ([77.249.17.252] helo=noisy.programming.kicks-ass.net) by desiato.infradead.org with esmtpsa (Exim 4.99.2 #2 (Red Hat Linux)) id 1wahoc-0000000Eyjf-2kAU; Fri, 19 Jun 2026 22:35:59 +0000 Received: by noisy.programming.kicks-ass.net (Postfix, from userid 1000) id 236D930036F; Sat, 20 Jun 2026 00:35:57 +0200 (CEST) Date: Sat, 20 Jun 2026 00:35:57 +0200 From: Peter Zijlstra To: Thomas Huth Cc: Josh Poimboeuf , Jason Baron , Alice Ryhl , Ard Biesheuvel , linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] static_call / jump_label: Replace __ASSEMBLY__ with __ASSEMBLER__ in headers Message-ID: <20260619223557.GV49951@noisy.programming.kicks-ass.net> References: <20260619124936.208519-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-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20260619124936.208519-1-thuth@redhat.com> On Fri, Jun 19, 2026 at 02:49:36PM +0200, Thomas Huth wrote: > From: Thomas Huth > > 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 now > on the __ASSEMBLER__ macro that is provided by the compilers. > > This is a completely mechanical patch (done with a simple "sed -i" > statement). > > Signed-off-by: Thomas Huth > --- Thanks!