mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 05:31:08 -04:00
include/linux/linkage.h: align weak symbols
Since WEAK() supposed to be used instead of ENTRY() to define weak symbols, but unlike ENTRY() it doesn't have ALIGN directive. It seems there is no actual reason to not have, so let's add ALIGN to WEAK() too. Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Andrey Ryabinin <[email protected]> Will Deacon <[email protected]>, Catalin Marinas <[email protected]> Cc: Kyeongdon Kim <[email protected]> Cc: Ard Biesheuvel <[email protected]> Cc: Alexander Potapenko <[email protected]> Cc: Dmitry Vyukov <[email protected]> Cc: Mark Rutland <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
1 parent
4d54954a19
commit
74f213ea25
1 file changed
+1
@@ -90,6 +90,7 @@
|
||||
#ifndef WEAK
|
||||
#define WEAK(name) \
|
||||
.weak name ASM_NL \
|
||||
ALIGN ASM_NL \
|
||||
name:
|
||||
#endif
|
||||
|
||||
|
||||
Reference in new issue
Block a user