summaryrefslogtreecommitdiffstats
path: root/arch/ia64
diff options
context:
space:
mode:
authorGleb Natapov <gleb@redhat.com>2012-07-25 15:49:42 +0300
committerAvi Kivity <avi@redhat.com>2012-07-26 12:21:29 +0300
commit99245b507dc3b1b2815d6a6cb4e94a6b7018a24b (patch)
treef19ed493922799d5c0d7244d5c6eb9ad13bcaba8 /arch/ia64
parentf23b070e662ca55a8fdaaa28537af06cab664499 (diff)
downloadblackbird-op-linux-99245b507dc3b1b2815d6a6cb4e94a6b7018a24b.tar.gz
blackbird-op-linux-99245b507dc3b1b2815d6a6cb4e94a6b7018a24b.zip
KVM: x86 emulator: drop unneeded call to get_segment()
setup_syscalls_segments() calls get_segment() and than overwrites all but one of the structure fields and this one should also be overwritten anyway, so we can drop call to get_segment() and avoid a couple of vmreads on vmx. Also drop zeroing ss/cs structures since most of the fields are set anyway. Just set those that were not set explicitly. Signed-off-by: Gleb Natapov <gleb@redhat.com> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/ia64')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud