diff options
Diffstat (limited to 'arch/x86/xen')
-rw-r--r-- | arch/x86/xen/multicalls.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/xen/multicalls.c b/arch/x86/xen/multicalls.c index 6cffd5532b91..8bff7e7c290b 100644 --- a/arch/x86/xen/multicalls.c +++ b/arch/x86/xen/multicalls.c | |||
@@ -170,8 +170,6 @@ void xen_mc_flush(void) | |||
170 | } else | 170 | } else |
171 | BUG_ON(b->argidx != 0); | 171 | BUG_ON(b->argidx != 0); |
172 | 172 | ||
173 | local_irq_restore(flags); | ||
174 | |||
175 | for (i = 0; i < b->cbidx; i++) { | 173 | for (i = 0; i < b->cbidx; i++) { |
176 | struct callback *cb = &b->callbacks[i]; | 174 | struct callback *cb = &b->callbacks[i]; |
177 | 175 | ||
@@ -179,6 +177,8 @@ void xen_mc_flush(void) | |||
179 | } | 177 | } |
180 | b->cbidx = 0; | 178 | b->cbidx = 0; |
181 | 179 | ||
180 | local_irq_restore(flags); | ||
181 | |||
182 | WARN_ON(ret); | 182 | WARN_ON(ret); |
183 | } | 183 | } |
184 | 184 | ||