- i386-espfix-cleanup-tweak.patch removed from -mm tree

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

 



The patch titled

     espfix: use scaling addressing mode rather than shifting in PER_CPU

has been removed from the -mm tree.  Its filename is

     i386-espfix-cleanup-tweak.patch

This patch was dropped because it was folded into i386-espfix-cleanup.patch

------------------------------------------------------
Subject: espfix: use scaling addressing mode rather than shifting in PER_CPU
From: Jeremy Fitzhardinge <jeremy@xxxxxxxx>

Use the x86 scaling addressing mode rather than shifting to multiply by 4
in PER_CPU().

Signed-off-by: Jeremy Fitzhardinge <jeremy@xxxxxxxx>
Cc: Stas Sergeev <stsp@xxxxxxxx>
Cc: Zachary Amsden <zach@xxxxxxxxxx>
Cc: Chuck Ebbert <76306.1226@xxxxxxxxxxxxxx>
Cc: Jan Beulich <jbeulich@xxxxxxxxxx>
Cc: Andi Kleen <ak@xxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 include/asm-i386/percpu.h |    3 +--
 1 files changed, 1 insertion(+), 2 deletions(-)

diff -puN include/asm-i386/percpu.h~i386-espfix-cleanup-tweak include/asm-i386/percpu.h
--- a/include/asm-i386/percpu.h~i386-espfix-cleanup-tweak
+++ a/include/asm-i386/percpu.h
@@ -19,8 +19,7 @@
  */
 #ifdef CONFIG_SMP
 #define PER_CPU(var, cpu) \
-	shll $2, cpu; \
-	movl __per_cpu_offset(cpu), cpu; \
+	movl __per_cpu_offset(,cpu,4), cpu;	\
 	addl $per_cpu__/**/var, cpu;
 #else /* ! SMP */
 #define PER_CPU(var, cpu) \
_

Patches currently in -mm which might be from jeremy@xxxxxxxx are

x86-remove-default_ldt-and-simplify-ldt-setting.patch
i386-espfix-cleanup.patch
i386-espfix-cleanup-tweak.patch
i386-use-asm-offsets-for-the-offsets-of-registers-into-the-pt_regs-struct-rather-than-having-hard-coded-constants.patch
i386-pda-basic-definitions-for-i386-pda.patch
i386-pda-initialize-the-per-cpu-data-area.patch
i386-pda-initialize-the-per-cpu-data-area-voyager-fix.patch
i386-pda-use-%gs-as-the-pda-base-segment-in-the-kernel.patch
i386-pda-fix-places-where-using-%gs-changes-the-usermode-abi.patch
i386-pda-update-sys_vm86-to-cope-with-changed-pt_regs-and-%gs-usage.patch
i386-pda-implement-smp_processor_id-with-the-pda.patch
i386-pda-implement-current-with-the-pda.patch
i386-pda-store-the-interrupt-regs-pointer-in-the-pda.patch
generic-bug-implementation.patch
generic-bug-for-i386.patch
generic-bug-for-x86-64.patch
uml-add-generic-bug-support.patch
use-generic-bug-for-ppc.patch
bug-test-1.patch
time-uninline-jiffiesh-fix.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