- per_cpu-fix-define_per_cpu_shared_aligned-for-modules-fix.patch removed from -mm tree

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

 



The patch titled
     per_cpu-fix-define_per_cpu_shared_aligned-for-modules fix
has been removed from the -mm tree.  Its filename was
     per_cpu-fix-define_per_cpu_shared_aligned-for-modules-fix.patch

This patch was dropped because it was folded into per_cpu-fix-define_per_cpu_shared_aligned-for-modules.patch

The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/

------------------------------------------------------
Subject: per_cpu-fix-define_per_cpu_shared_aligned-for-modules fix
From: Eric Dumazet <dada1@xxxxxxxxxxxxx>

A typo was included in the patch I sent yesterday, since I was testing :

#ifdef CONFIG_MODULES

while the intention was to test

#ifdef MODULE

So that all SHARED_ALIGNED vmlinux percpu variables still are in the
special section.
The fix is only needed when compiling modules.

Signed-off-by: Eric Dumazet <dada1@xxxxxxxxxxxxx>
Cc: Rusty Russell <rusty@xxxxxxxxxxxxxxx>
Cc: Fenghua Yu <fenghua.yu@xxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 include/linux/percpu.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN include/linux/percpu.h~per_cpu-fix-define_per_cpu_shared_aligned-for-modules-fix include/linux/percpu.h
--- a/include/linux/percpu.h~per_cpu-fix-define_per_cpu_shared_aligned-for-modules-fix
+++ a/include/linux/percpu.h
@@ -13,7 +13,7 @@
 	__attribute__((__section__(".data.percpu")))			\
 	PER_CPU_ATTRIBUTES __typeof__(type) per_cpu__##name
 
-#ifdef CONFIG_MODULES
+#ifdef MODULE
 #define SHARED_ALIGNED_SECTION ".data.percpu"
 #else
 #define SHARED_ALIGNED_SECTION ".data.percpu.shared_aligned"
_

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

oprofile-dont-request-cache-line-alignment-for-cpu_buffer.patch
per_cpu-fix-define_per_cpu_shared_aligned-for-modules.patch
per_cpu-fix-define_per_cpu_shared_aligned-for-modules-fix.patch
linux-next.patch

--
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

  Powered by Linux