xen/arm: initialize grant_table on ARM
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>
Thu, 13 Sep 2012 12:06:52 +0000 (12:06 +0000)
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>
Thu, 13 Sep 2012 12:06:52 +0000 (12:06 +0000)
commitb3b52fd87e8f7544fde75a471108bd5bd4492c90
treee0a8e3ed2ca59b2db9d53424fc9aa6d8dbcb6ac1
parentef61ee0dc7ba0409dc0e8122de90d4e48d4c8669
xen/arm: initialize grant_table on ARM

Initialize the grant table mapping at the address specified at index 0
in the DT under the /xen node.
After the grant table is initialized, call xenbus_probe (if not dom0).

Changes in v2:

- introduce GRANT_TABLE_PHYSADDR;
- remove unneeded initialization of boot_max_nr_grant_frames.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
arch/arm/xen/enlighten.c