diff options
| author | Avi Kivity <[email protected]> | 2011-06-19 16:21:11 +0000 |
|---|---|---|
| committer | Avi Kivity <[email protected]> | 2011-06-29 07:09:25 +0000 |
| commit | cb16c348760ad2bc79b67b20aefac05529569ed7 (patch) | |
| tree | 64a3928c22676e0e09d5d514708c98cd20aa5a44 /net/lapb/lapb_iface.c | |
| parent | Linux 3.0-rc5 (diff) | |
| download | kernel-cb16c348760ad2bc79b67b20aefac05529569ed7.tar.gz kernel-cb16c348760ad2bc79b67b20aefac05529569ed7.zip | |
KVM: x86 emulator: fix %rip-relative addressing with immediate source operand
%rip-relative addressing is relative to the first byte of the next instruction,
so we need to add %rip only after we've fetched any immediate bytes.
Based on original patch by Li Xin <[email protected]>.
Signed-off-by: Avi Kivity <[email protected]>
Acked-by: Li Xin <[email protected]>
Signed-off-by: Marcelo Tosatti <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions
