+ linkageh-align-weak-symbols.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     Subject: include/linux/linkage.h: align weak symbols
has been added to the -mm tree.  Its filename is
     linkageh-align-weak-symbols.patch

This patch should soon appear at
    http://ozlabs.org/~akpm/mmots/broken-out/linkageh-align-weak-symbols.patch
and later at
    http://ozlabs.org/~akpm/mmotm/broken-out/linkageh-align-weak-symbols.patch

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/process/submit-checklist.rst when testing your code ***

The -mm tree is included into linux-next and is updated
there every 3-4 working days

------------------------------------------------------
From: Andrey Ryabinin <aryabinin@xxxxxxxxxxxxx>
Subject: 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/20180920135631.23833-1-aryabinin@xxxxxxxxxxxxx
Signed-off-by: Andrey Ryabinin <aryabinin@xxxxxxxxxxxxx>
Will Deacon <will.deacon@xxxxxxx>, Catalin Marinas <catalin.marinas@xxxxxxx>
Cc: Kyeongdon Kim <kyeongdon.kim@xxxxxxx>
Cc: Ard Biesheuvel <ard.biesheuvel@xxxxxxxxxx>
Cc: Alexander Potapenko <glider@xxxxxxxxxx>
Cc: Dmitry Vyukov <dvyukov@xxxxxxxxxx>
Cc: Mark Rutland <mark.rutland@xxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---


diff -puN include/linux/linkage.h~linkageh-align-weak-symbols include/linux/linkage.h
--- a/include/linux/linkage.h~linkageh-align-weak-symbols
+++ a/include/linux/linkage.h
@@ -90,6 +90,7 @@
 #ifndef WEAK
 #define WEAK(name)	   \
 	.weak name ASM_NL   \
+	ALIGN ASM_NL \
 	name:
 #endif
 
_

Patches currently in -mm which might be from aryabinin@xxxxxxxxxxxxx are

linkageh-align-weak-symbols.patch
arm64-lib-use-c-string-functions-with-kasan-enabled.patch
lib-test_kasan-add-tests-for-several-string-memory-api-functions.patch
kvfree-fix-misleading-comment.patch
mm-vmalloc-improve-vfree-kerneldoc.patch
vfree-kvfree-add-debug-might-sleeps.patch
vfree-kvfree-add-debug-might-sleeps-fix.patch




[Index of Archives]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux