summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorLinus Torvalds2010-07-19 00:13:30 +0200
committerLinus Torvalds2010-07-19 00:13:30 +0200
commita9f7f2e74ae0e6a801a2433dc8e9124d73da0cb4 (patch)
treea52644367533e48d9fe4f4abea0c8b39dc2523e2 /arch
parentMerge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jba... (diff)
parentx86: kprobes: fix swapped segment registers in kretprobe (diff)
downloadkernel-qcow2-linux-a9f7f2e74ae0e6a801a2433dc8e9124d73da0cb4.tar.gz
kernel-qcow2-linux-a9f7f2e74ae0e6a801a2433dc8e9124d73da0cb4.tar.xz
kernel-qcow2-linux-a9f7f2e74ae0e6a801a2433dc8e9124d73da0cb4.zip
Merge branch 'x86/kprobes' of git://git.kernel.org/pub/scm/linux/kernel/git/frob/linux-2.6-roland
* 'x86/kprobes' of git://git.kernel.org/pub/scm/linux/kernel/git/frob/linux-2.6-roland: x86: kprobes: fix swapped segment registers in kretprobe
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/kernel/kprobes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/kprobes.c b/arch/x86/kernel/kprobes.c
index 345a4b1fe144..675879b65ce6 100644
--- a/arch/x86/kernel/kprobes.c
+++ b/arch/x86/kernel/kprobes.c
@@ -640,8 +640,8 @@ static int __kprobes kprobe_handler(struct pt_regs *regs)
/* Skip cs, ip, orig_ax and gs. */ \
" subl $16, %esp\n" \
" pushl %fs\n" \
- " pushl %ds\n" \
" pushl %es\n" \
+ " pushl %ds\n" \
" pushl %eax\n" \
" pushl %ebp\n" \
" pushl %edi\n" \