/* * Create the ppc64 and ppc64/rtas directories early. This allows us to * assume that they have been previously created in drivers.
*/ staticint __init proc_ppc64_create(void)
{ struct proc_dir_entry *root;
root = proc_mkdir("powerpc", NULL); if (!root) return 1;
#ifdef CONFIG_PPC64 if (!proc_symlink("ppc64", NULL, "powerpc"))
pr_err("Failed to create link /proc/ppc64 -> /proc/powerpc\n"); #endif
if (!of_find_node_by_path("/rtas")) return 0;
if (!proc_mkdir("rtas", root)) return 1;
if (!proc_symlink("rtas", NULL, "powerpc/rtas")) return 1;
return 0;
}
core_initcall(proc_ppc64_create);
Messung V0.5
¤ Dauer der Verarbeitung: 0.0 Sekunden
(vorverarbeitet)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.