Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

compiler.h: Make addressable symbols less of an eyesore

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.

Acked-by: Petr Mladek <pmladek@suse.com>
Tested-by: Joe Lawrence <joe.lawrence@redhat.com>
Signed-off-by: Josh Poimboeuf <jpoimboe@kernel.org>

+1 -1
+1 -1
include/linux/compiler.h
··· 287 287 */ 288 288 #define ___ADDRESSABLE(sym, __attrs) \ 289 289 static void * __used __attrs \ 290 - __UNIQUE_ID(__PASTE(__addressable_,sym)) = (void *)(uintptr_t)&sym; 290 + __UNIQUE_ID(__PASTE(addressable_, sym)) = (void *)(uintptr_t)&sym; 291 291 292 292 #define __ADDRESSABLE(sym) \ 293 293 ___ADDRESSABLE(sym, __section(".discard.addressable"))