search for: xen_prefix

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

Did you mean: exec_prefix
2013 Apr 18
1
[PATCH] xen/arm: introduce xen_early_init, use PSCI on xen
...p xatp; @@ -194,25 +221,21 @@ static int __init xen_guest_init(void) int i; node = of_find_compatible_node(NULL, NULL, "xen,xen"); - if (!node) { - pr_debug("No Xen support\n"); - return 0; - } + s = of_get_property(node, "compatible", &len); if (strlen(xen_prefix) + 3 < len && !strncmp(xen_prefix, s, strlen(xen_prefix))) version = s + strlen(xen_prefix); if (version == NULL) { - pr_debug("Xen version not found\n"); - return 0; + pr_warn("Xen version not found\n"); + return -EINVAL; } if (of_address_to_resourc...