xen/events: remove unnecessary init_evtchn_cpu_bindings()
authorDavid Vrabel <david.vrabel@citrix.com>
Wed, 13 Mar 2013 13:20:52 +0000 (13:20 +0000)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Mon, 6 Jan 2014 15:07:33 +0000 (10:07 -0500)
commitfc087e10734a4d3e40693fc099461ec1270b3fff
tree801838375708e2053b413bbfd75a758c9421e93b
parent872951850666689e931e567ebdc7c483135d14cf
xen/events: remove unnecessary init_evtchn_cpu_bindings()

Because the guest-side binding of an event to a VCPU (i.e., setting
the local per-cpu masks) is always explicitly done after an event
channel is bound to a port, there is no need to initialize all
possible events as bound to VCPU 0 at start of day or after a resume.

Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
drivers/xen/events.c