+ i386-pda-use-%gs-as-the-pda-base-segment-in-the-kernel-fix.patch added to -mm tree

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

 



The patch titled

     Fix fake return address

has been added to the -mm tree.  Its filename is

     i386-pda-use-%gs-as-the-pda-base-segment-in-the-kernel-fix.patch

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

------------------------------------------------------
Subject: Fix fake return address
From: Jeremy Fitzhardinge <jeremy@xxxxxxxx>

The fake return address was being set to __KERNEL_PDA, rather than 0.  Push
it earlier while %eax still equals 0.

Signed-off-by: Jeremy Fitzhardinge <jeremy@xxxxxxxxxxxxx>
Cc: Andi Kleen <ak@xxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 arch/i386/kernel/head.S |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN arch/i386/kernel/head.S~i386-pda-use-%gs-as-the-pda-base-segment-in-the-kernel-fix arch/i386/kernel/head.S
--- a/arch/i386/kernel/head.S~i386-pda-use-%gs-as-the-pda-base-segment-in-the-kernel-fix
+++ a/arch/i386/kernel/head.S
@@ -316,12 +316,12 @@ is386:	movl $2,%ecx		# set MP
 	xorl %eax,%eax			# Clear FS and LDT
 	movl %eax,%fs
 	lldt %ax
+	pushl %eax		# fake return address
 
 	movl $(__KERNEL_PDA),%eax
 	mov  %eax,%gs
 
 	cld			# gcc2 wants the direction flag cleared at all times
-	pushl %eax		# fake return address
 #ifdef CONFIG_SMP
 	movb ready, %cl
 	movb $1, ready
_

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

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-use-%gs-as-the-pda-base-segment-in-the-kernel-fix.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
fix-generic-warn_on-message.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