aboutsummaryrefslogtreecommitdiff
path: root/linux-user/main.c
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2008-05-12 12:23:31 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2008-05-12 12:23:31 +0000
commitec95da6cfb636d6ec1e5ecc3e8e4c223749d2d31 (patch)
treef9151307e99dd83c55a74e48b910ae94d59213fd /linux-user/main.c
parent75d28b05957c4b12e9834a5cf7d804ee65d8c6b0 (diff)
2.6 kernels make int 5 a trap gate
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4437 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'linux-user/main.c')
-rw-r--r--linux-user/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-user/main.c b/linux-user/main.c
index 2125aa5e63..e871b4811c 100644
--- a/linux-user/main.c
+++ b/linux-user/main.c
@@ -2234,7 +2234,7 @@ int main(int argc, char **argv)
set_idt(2, 0);
set_idt(3, 3);
set_idt(4, 3);
- set_idt(5, 3);
+ set_idt(5, 0);
set_idt(6, 0);
set_idt(7, 0);
set_idt(8, 0);