diff options
-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 3001162c4bce..cc71f7cf1adc 100644 --- a/arch/x86/xen/multicalls.c +++ b/arch/x86/xen/multicalls.c | |||
@@ -123,8 +123,8 @@ struct multicall_space __xen_mc_entry(size_t args) | |||
123 | BUG_ON(preemptible()); | 123 | BUG_ON(preemptible()); |
124 | BUG_ON(b->argidx >= MC_ARGS); | 124 | BUG_ON(b->argidx >= MC_ARGS); |
125 | 125 | ||
126 | if (b->mcidx == MC_BATCH || | 126 | if (unlikely(b->mcidx == MC_BATCH || |
127 | (argidx + args) >= MC_ARGS) { | 127 | (argidx + args) >= MC_ARGS)) { |
128 | trace_xen_mc_flush_reason((b->mcidx == MC_BATCH) ? | 128 | trace_xen_mc_flush_reason((b->mcidx == MC_BATCH) ? |
129 | XEN_MC_FL_BATCH : XEN_MC_FL_ARGS); | 129 | XEN_MC_FL_BATCH : XEN_MC_FL_ARGS); |
130 | xen_mc_flush(); | 130 | xen_mc_flush(); |