From nobody Tue Dec 16 12:38:53 2025 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 4079525FA11; Fri, 9 May 2025 20:17:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1746821868; cv=none; b=I2Owb4e6/peu8BOvF6NV4uLvjr4p5+xwwSnWkPlpXBp9Ot/5J510RIMU7n8dQs+UmK5goCsaFAg+yDwgcdbKTCCGMb7X78aLshkOQn31LvU4TZSYBiDZef4JPwHBZv4iYkXhvS2m5RZ1s659qDWQNLyOF0LB7Sa9Fal6rmd8iG4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1746821868; c=relaxed/simple; bh=3tlymgvkIpuX/jFV9LwurncZOXQItfZudGI+G+KrCR4=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=XLJl2kjbvqyKgu/lQPJHfbCR9XKcPgDi0mFx0vfbPxCqCnu2ykZ7bSb7Lr44tVOv6VhpUn+B9t7ciHe1ff3iL5XNLLKwpevxcT20bve7aipZKwmtWMLkzpIAwBnDAl6DVVU7zro7j7+oB1I3RAuUDsMSCGdD1s5XSdy8u3a/yyk= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=E7zilWZM; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="E7zilWZM" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 881C4C4CEF5; Fri, 9 May 2025 20:17:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1746821868; bh=3tlymgvkIpuX/jFV9LwurncZOXQItfZudGI+G+KrCR4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=E7zilWZMDyqkeZxOb8AHXNr5hpEKIS0O6+t5jLElB4bI/87rGlRjtuarUGKZ0Igvl uOjj4CshgSa+X2qRVY3RQcyGbtu9ni1dhoUIL02dHJsTygV4HhUfdT/cOnoHfSjvmS NLVtxIPNnv6boDruYmYC0UY2x7hymjA5iV3Q4fSh2S+yntZ0VHaJZxGb3OSOIqCI+x qUP5HYhNVeMSRdYRZaL2biEgNVdMSR3LLpREq5j94QsiyjD6Lh/tW16vgn/yHC7QkJ xERsk0I4oO8eWoZxaJz5u6MMVdwGdD3gngqv5f/3vQ1GSRsJWvAARpfrzFPCk7QAtD 7IjsmlqxXbJQA== From: Josh Poimboeuf To: x86@kernel.org Cc: linux-kernel@vger.kernel.org, Petr Mladek , Miroslav Benes , Joe Lawrence , live-patching@vger.kernel.org, Song Liu , laokz , Jiri Kosina , Marcos Paulo de Souza , Weinan Liu , Fazla Mehrab , Chen Zhongjin , Puranjay Mohan Subject: [PATCH v2 06/62] compiler.h: Make addressable symbols less of an eyesore Date: Fri, 9 May 2025 13:16:30 -0700 Message-ID: <7a2ba63aa1d1d3a6a904dd31188d910a8b647ba1.1746821544.git.jpoimboe@kernel.org> X-Mailer: git-send-email 2.49.0 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Avoid underscore overload by changing: __UNIQUE_ID___addressable_loops_per_jiffy_868 to the following: __UNIQUE_ID_addressable_loops_per_jiffy_868 This matches the format used by other __UNIQUE_ID()-generated symbols and improves readability for those who stare at ELF symbol table dumps. Signed-off-by: Josh Poimboeuf --- include/linux/compiler.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/compiler.h b/include/linux/compiler.h index 0efcfa6dab0f..1390d5cb2359 100644 --- a/include/linux/compiler.h +++ b/include/linux/compiler.h @@ -287,7 +287,7 @@ static inline void *offset_to_ptr(const int *off) */ #define ___ADDRESSABLE(sym, __attrs) \ static void * __used __attrs \ - __UNIQUE_ID(__PASTE(__addressable_,sym)) =3D (void *)(uintptr_t)&sym; + __UNIQUE_ID(__PASTE(addressable_,sym)) =3D (void *)(uintptr_t)&sym; =20 #define __ADDRESSABLE(sym) \ ___ADDRESSABLE(sym, __section(".discard.addressable")) --=20 2.49.0