projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
516d283
)
[PATCH] i386: remove IOPL check on task switch
author
Chuck Ebbert
<76306.1226@compuserve.com>
Thu, 7 Dec 2006 01:14:07 +0000
(
02:14
+0100)
committer
Andi Kleen
<andi@basil.nowhere.org>
Thu, 7 Dec 2006 01:14:07 +0000
(
02:14
+0100)
IOPL is implicitly saved and restored on task switch,
so explicit check is no longer needed.
Signed-off-by: Chuck Ebbert <76306.1226@compuserve.com>
Signed-off-by: Andi Kleen <ak@suse.de>
arch/i386/kernel/process.c
patch
|
blob
|
history
diff --git
a/arch/i386/kernel/process.c
b/arch/i386/kernel/process.c
index 8f42659ef9d253addb5df1b4a0a14ec0580b60cc..99308510a17c7fdab49f6a90a1f09e9f9917cf37 100644
(file)
--- a/
arch/i386/kernel/process.c
+++ b/
arch/i386/kernel/process.c
@@
-674,12
+674,6
@@
struct task_struct fastcall * __switch_to(struct task_struct *prev_p, struct tas
write_pda(pcurrent, next_p);
- /*
- * Restore IOPL if needed.
- */
- if (unlikely(prev->iopl != next->iopl))
- set_iopl_mask(next->iopl);
-
/*
* Now maybe handle debug registers and/or IO bitmaps
*/