search for: grant_table_physaddr

Displaying 1 result from an estimated 1 matches for "grant_table_physaddr".

2013 Apr 18
1
[PATCH] xen/arm: introduce xen_early_init, use PSCI on xen
...se PSCI if available. + * In any case do not try to use the native smp_ops. */ + if (psci_smp_available()) + smp_set_ops(&psci_smp_ops); + return true; +#endif +} + /* * see Documentation/devicetree/bindings/arm/xen.txt for the * documentation of the Xen Device Tree format. */ #define GRANT_TABLE_PHYSADDR 0 +void __init xen_early_init(void) +{ + struct device_node *node; + + node = of_find_compatible_node(NULL, NULL, "xen,xen"); + if (!node) { + pr_debug("No Xen support\n"); + return; + } + + xen_domain_type = XEN_HVM_DOMAIN; + machine_desc->smp_init = xen_smp_init; +} + st...