]> git.baikalelectronics.ru Git - kernel.git/commit
xen/arm: compile and run xenbus
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>
Fri, 14 Sep 2012 11:13:12 +0000 (12:13 +0100)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Mon, 17 Sep 2012 14:04:04 +0000 (10:04 -0400)
commit26a1537aa06231c2fdd7991b24efe711a95a79b4
tree541a0ea9d95cf25eb45e2c8d33a3111a623f9ad1
parentafccf9c3a64dc4009e65c994daab4a338852721e
xen/arm: compile and run xenbus

bind_evtchn_to_irqhandler can legitimately return 0 (irq 0): it is not
an error.

If Linux is running as an HVM domain and is running as Dom0, use
xenstored_local_init to initialize the xenstore page and event channel.

Changes in v4:
- do not xs_reset_watches on dom0.

Changes in v2:
- refactor xenbus_init.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
[v5: Fixed case switch indentations]
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
drivers/xen/xenbus/xenbus_comms.c
drivers/xen/xenbus/xenbus_probe.c
drivers/xen/xenbus/xenbus_xs.c