]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
x86: set bp field in pt_regs properly
authorGlauber Costa <gcosta@redhat.com>
Thu, 14 Aug 2008 20:33:12 +0000 (17:33 -0300)
committerIngo Molnar <mingo@elte.hu>
Mon, 13 Oct 2008 08:21:27 +0000 (10:21 +0200)
commit097a0788df71b0f3328c70ab5f4e41c27ee66817
treeb66d74b112f7816adc6b4b3f88ee7b8ee8ae66f8
parent2c44e66843cd50c5ef4f4271fbd63a4f4bf4d083
x86: set bp field in pt_regs properly

Save rbp twice: One is for marking the stack frame, as usual (already
there), and the other, to fill pt_regs properly. This is because bx
comes right before the last saved register in that structure, and not
bp. If the base pointer were in the place bx is today, this would not
be needed.

Signed-off-by: Glauber Costa <gcosta@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/entry_64.S