]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
[PATCH] i386: fix get_segment_eip() with vm86 segments
authorChuck Ebbert <76306.1226@compuserve.com>
Fri, 23 Jun 2006 09:04:29 +0000 (02:04 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 23 Jun 2006 14:42:58 +0000 (07:42 -0700)
commit19964fecf25c17f865dec07ae242b1a40ea93f16
treee3eae33af9583dd6a7f88f54b2e9e0f5ecd0b74d
parent110cb1d2e343443c4a4b5f7e081928aa4da90f93
[PATCH] i386: fix get_segment_eip() with vm86 segments

We need to check for vm86 mode first before looking at selector privilege
bits.

Segment limit is always base + 64k and only the low 16 bits of EIP are
significant in vm86 mode.

Signed-off-by: Chuck Ebbert <76306.1226@compuserve.com>
Cc: Andi Kleen <ak@muc.de>
Cc: Zachary Amsden <zach@vmware.com>
Cc: Rohit Seth <rohitseth@google.com>
Acked-by: Ananth N Mavinakayanahalli <ananth@in.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/i386/mm/fault.c