]> www.infradead.org Git - users/jedix/linux-maple.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>
Tue, 4 Dec 2012 17:32:48 +0000 (12:32 -0500)
commitbd94b346726fb35db9dc9f187b7f78484a56e259
tree10803d139e3bec58dce50db5eeec87967ee9c293
parent8a64ef5fa14ba4abb1cb0b6e141eede989dbb5a5
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>
(cherry picked from commit ecc635f90adfe1b7cd5fd354f49edfbf24aa4e3e)
drivers/xen/xenbus/xenbus_comms.c
drivers/xen/xenbus/xenbus_probe.c
drivers/xen/xenbus/xenbus_xs.c