diff options
| author | Ingo Molnar <mingo@elte.hu> | 2002-12-23 20:23:22 -0800 |
|---|---|---|
| committer | Ingo Molnar <mingo@elte.hu> | 2002-12-23 20:23:22 -0800 |
| commit | 56eb992ec0a05e0b66e4f0a967adb250e23c5df2 (patch) | |
| tree | a9fd06e9826f32fd0194f5366c246f91a73d3b68 /include | |
| parent | a85071ff99ebc7cdb3bb5ad472e22fd55c7d6c87 (diff) | |
[PATCH] Save fs/gs over vm86 mode switch
In vm86 mode we did not save/restore %gs [and %fs] properly, which
breaks new-style threading.
Diffstat (limited to 'include')
| -rw-r--r-- | include/asm-i386/processor.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-i386/processor.h b/include/asm-i386/processor.h index bf944abdf821..156c53c50c90 100644 --- a/include/asm-i386/processor.h +++ b/include/asm-i386/processor.h @@ -387,6 +387,7 @@ struct thread_struct { struct vm86_struct * vm86_info; unsigned long screen_bitmap; unsigned long v86flags, v86mask, saved_esp0; + unsigned int saved_fs, saved_gs; /* IO permissions */ unsigned long *ts_io_bitmap; }; |
