Patchwork [80/223] xen: ensure that all event channels start off bound to VCPU 0

login
register
mail settings
Submitter Andi Kleen
Date Dec. 12, 2010, 11:46 p.m.
Message ID <20101212234619.5D10BB27BF@basil.firstfloor.org>
Download mbox | patch
Permalink /patch/403192/
State New, archived
Headers show

Comments

Patch

Index: linux/drivers/xen/events.c
===================================================================
--- linux.orig/drivers/xen/events.c
+++ linux/drivers/xen/events.c
@@ -256,7 +256,7 @@  static void init_evtchn_cpu_bindings(voi
 	}
 #endif
 
-	memset(cpu_evtchn_mask(0), ~0, sizeof(cpu_evtchn_mask(0)));
+	memset(cpu_evtchn_mask(0), ~0, sizeof(struct cpu_evtchn_s));
 }
 
 static inline void clear_evtchn(int port)