summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/lparcfg.c
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt2009-09-24 21:29:13 +0200
committerBenjamin Herrenschmidt2009-10-30 07:20:53 +0100
commit188917e183cf9ad0374b571006d0fc6d48a7f447 (patch)
treeb4d39a26e2b551c44e3bf18099c984ff8e2d903a /arch/powerpc/kernel/lparcfg.c
parentpowerpc: Make it possible to select hibernation on all PowerPCs (diff)
downloadkernel-qcow2-linux-188917e183cf9ad0374b571006d0fc6d48a7f447.tar.gz
kernel-qcow2-linux-188917e183cf9ad0374b571006d0fc6d48a7f447.tar.xz
kernel-qcow2-linux-188917e183cf9ad0374b571006d0fc6d48a7f447.zip
powerpc: Move /proc/ppc64 to /proc/powerpc and add symlink
Some of the stuff in /proc/ppc64 such as the RTAS bits are actually useful to some 32-bit platforms. Rename the file, and create a symlink on 64-bit for backward compatibility Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/kernel/lparcfg.c')
-rw-r--r--arch/powerpc/kernel/lparcfg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/kernel/lparcfg.c b/arch/powerpc/kernel/lparcfg.c
index ed0ac4e4b8d8..79a00bb9c64c 100644
--- a/arch/powerpc/kernel/lparcfg.c
+++ b/arch/powerpc/kernel/lparcfg.c
@@ -781,9 +781,9 @@ static int __init lparcfg_init(void)
!firmware_has_feature(FW_FEATURE_ISERIES))
mode |= S_IWUSR;
- ent = proc_create("ppc64/lparcfg", mode, NULL, &lparcfg_fops);
+ ent = proc_create("powerpc/lparcfg", mode, NULL, &lparcfg_fops);
if (!ent) {
- printk(KERN_ERR "Failed to create ppc64/lparcfg\n");
+ printk(KERN_ERR "Failed to create powerpc/lparcfg\n");
return -EIO;
}