Commit 9becd2a0 authored by Nathan Fontenot's avatar Nathan Fontenot Committed by Benjamin Herrenschmidt

powerpc: Move /proc/ppc64 to /proc/powerpc update

It looks like the previous patch sent out to move RTAS and
other items from /proc/ppc64 to /proc/powerpc missed a few
files needed for RAS and DLPAR functionality.

Original Patch here:
http://lists.ozlabs.org/pipermail/linuxppc-dev/2009-September/076096.html

This patch updates the remaining files to be created under /proc/powerpc.
Signed-off-by: default avatarNathan Fontenot <nfont@austin.ibm.com>
Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
parent 061ec959
...@@ -262,19 +262,19 @@ static int __init proc_rtas_init(void) ...@@ -262,19 +262,19 @@ static int __init proc_rtas_init(void)
if (rtas_node == NULL) if (rtas_node == NULL)
return -ENODEV; return -ENODEV;
proc_create("ppc64/rtas/progress", S_IRUGO|S_IWUSR, NULL, proc_create("powerpc/rtas/progress", S_IRUGO|S_IWUSR, NULL,
&ppc_rtas_progress_operations); &ppc_rtas_progress_operations);
proc_create("ppc64/rtas/clock", S_IRUGO|S_IWUSR, NULL, proc_create("powerpc/rtas/clock", S_IRUGO|S_IWUSR, NULL,
&ppc_rtas_clock_operations); &ppc_rtas_clock_operations);
proc_create("ppc64/rtas/poweron", S_IWUSR|S_IRUGO, NULL, proc_create("powerpc/rtas/poweron", S_IWUSR|S_IRUGO, NULL,
&ppc_rtas_poweron_operations); &ppc_rtas_poweron_operations);
proc_create("ppc64/rtas/sensors", S_IRUGO, NULL, proc_create("powerpc/rtas/sensors", S_IRUGO, NULL,
&ppc_rtas_sensors_operations); &ppc_rtas_sensors_operations);
proc_create("ppc64/rtas/frequency", S_IWUSR|S_IRUGO, NULL, proc_create("powerpc/rtas/frequency", S_IWUSR|S_IRUGO, NULL,
&ppc_rtas_tone_freq_operations); &ppc_rtas_tone_freq_operations);
proc_create("ppc64/rtas/volume", S_IWUSR|S_IRUGO, NULL, proc_create("powerpc/rtas/volume", S_IWUSR|S_IRUGO, NULL,
&ppc_rtas_tone_volume_operations); &ppc_rtas_tone_volume_operations);
proc_create("ppc64/rtas/rmo_buffer", S_IRUSR, NULL, proc_create("powerpc/rtas/rmo_buffer", S_IRUSR, NULL,
&ppc_rtas_rmo_buf_ops); &ppc_rtas_rmo_buf_ops);
return 0; return 0;
} }
......
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