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
This commit is contained in:
Linus Torvalds 2010-07-18 15:13:30 -07:00
Родитель 2044f2282d a197479848
Коммит a9f7f2e74a
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -640,8 +640,8 @@ static int __kprobes kprobe_handler(struct pt_regs *regs)
/* Skip cs, ip, orig_ax and gs. */ \ /* Skip cs, ip, orig_ax and gs. */ \
" subl $16, %esp\n" \ " subl $16, %esp\n" \
" pushl %fs\n" \ " pushl %fs\n" \
" pushl %ds\n" \
" pushl %es\n" \ " pushl %es\n" \
" pushl %ds\n" \
" pushl %eax\n" \ " pushl %eax\n" \
" pushl %ebp\n" \ " pushl %ebp\n" \
" pushl %edi\n" \ " pushl %edi\n" \