projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
x86/paravirt: remove lazy mode in interrupts
[deliverable/linux.git]
/
arch
/
x86
/
kernel
/
paravirt.c
diff --git
a/arch/x86/kernel/paravirt.c
b/arch/x86/kernel/paravirt.c
index 63dd358d8ee13be0708c0139bf348d5d237aecfb..8ab250ac498b6b403e99cb563cc10240a5725e71 100644
(file)
--- a/
arch/x86/kernel/paravirt.c
+++ b/
arch/x86/kernel/paravirt.c
@@
-282,6
+282,9
@@
void paravirt_leave_lazy_cpu(void)
enum paravirt_lazy_mode paravirt_get_lazy_mode(void)
{
+ if (in_interrupt())
+ return PARAVIRT_LAZY_NONE;
+
return __get_cpu_var(paravirt_lazy_mode);
}
This page took
0.026399 seconds
and
5
git commands to generate.