projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
145dfc0
)
smp: assert that all affected CPUs are online in on_selected_cpus()
author
Jan Beulich
<jbeulich@suse.com>
Thu, 1 Jun 2017 08:49:53 +0000
(10:49 +0200)
committer
Jan Beulich
<jbeulich@suse.com>
Thu, 1 Jun 2017 08:49:53 +0000
(10:49 +0200)
Suggested-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Wei Liu <wei.liu2@citrix.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/common/smp.c
patch
|
blob
|
history
diff --git
a/xen/common/smp.c
b/xen/common/smp.c
index 482a203b02ee6e8f2557f9954b83e53af3406e7d..79f4ebd1450224976176ad2f0111b014a5a4c816 100644
(file)
--- a/
xen/common/smp.c
+++ b/
xen/common/smp.c
@@
-53,6
+53,7
@@
void on_selected_cpus(
unsigned int nr_cpus;
ASSERT(local_irq_is_enabled());
+ ASSERT(cpumask_subset(selected, &cpu_online_map));
spin_lock(&call_lock);