Commit 342c58a6 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] ppc64: fix rtas error log location

From: Anton Blanchard <anton@samba.org>

From: Nathan Lynch <nathanl@austin.ibm.com>

Somehow we've been placing the rtas error_log file at /proc/ppc64/error_log,
which breaks at least one application I know of.  It is supposed to be at
/proc/ppc64/rtas/error_log (this is the 2.4 behavior).
parent 914c249b
...@@ -450,7 +450,7 @@ static int __init rtas_init(void) ...@@ -450,7 +450,7 @@ static int __init rtas_init(void)
return 1; return 1;
} }
entry = create_proc_entry("ppc64/error_log", S_IRUSR, NULL); entry = create_proc_entry("ppc64/rtas/error_log", S_IRUSR, NULL);
if (entry) if (entry)
entry->proc_fops = &proc_rtas_log_operations; entry->proc_fops = &proc_rtas_log_operations;
else else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment