powerpc: Move /proc/ppc64 to /proc/powerpc and add symlink

Previous thread: powerpc/pseries: Serialize cpu hotplug operations during deactivate Vs deallocate by Linux Kernel Mailing List on Saturday, December 12, 2009 - 4:59 pm. (1 message)

Next thread: powerpc/5200: add general purpose timer API for the MPC5200 by Linux Kernel Mailing List on Saturday, December 12, 2009 - 4:59 pm. (1 message)
From: Linux Kernel Mailing List
Date: Saturday, December 12, 2009 - 4:59 pm

Gitweb:     http://git.kernel.org/linus/188917e183cf9ad0374b571006d0fc6d48a7f447
Commit:     188917e183cf9ad0374b571006d0fc6d48a7f447
Parent:     64eb38a6e9732f45d518b9e522d613195c930e8f
Author:     Benjamin Herrenschmidt <benh@kernel.crashing.org>
AuthorDate: Thu Sep 24 19:29:13 2009 +0000
Committer:  Benjamin Herrenschmidt <benh@kernel.crashing.org>
CommitDate: Fri Oct 30 17:20:53 2009 +1100

    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>
---
 arch/powerpc/kernel/Makefile                       |    2 +-
 arch/powerpc/kernel/lparcfg.c                      |    4 +-
 .../kernel/{proc_ppc64.c => proc_powerpc.c}        |  102 ++++++++++----------
 arch/powerpc/kernel/rtas_flash.c                   |   10 +-
 arch/powerpc/platforms/pseries/reconfig.c          |    6 +-
 arch/powerpc/platforms/pseries/scanlog.c           |    4 +-
 6 files changed, 66 insertions(+), 62 deletions(-)

diff --git a/arch/powerpc/kernel/Makefile b/arch/powerpc/kernel/Makefile
index b23664a..3faa391 100644
--- a/arch/powerpc/kernel/Makefile
+++ b/arch/powerpc/kernel/Makefile
@@ -42,7 +42,7 @@ obj-$(CONFIG_ALTIVEC)		+= vecemu.o
 obj-$(CONFIG_PPC_970_NAP)	+= idle_power4.o
 obj-$(CONFIG_PPC_OF)		+= of_device.o of_platform.o prom_parse.o
 obj-$(CONFIG_PPC_CLOCK)		+= clock.o
-procfs-$(CONFIG_PPC64)		:= proc_ppc64.o
+procfs-y			:= proc_powerpc.o
 obj-$(CONFIG_PROC_FS)		+= $(procfs-y)
 rtaspci-$(CONFIG_PPC64)-$(CONFIG_PCI)	:= rtas_pci.o
 obj-$(CONFIG_PPC_RTAS)		+= rtas.o rtas-rtc.o $(rtaspci-y-y)
diff --git a/arch/powerpc/kernel/lparcfg.c b/arch/powerpc/kernel/lparcfg.c
index ed0ac4e..79a00bb 100644
--- a/arch/powerpc/kernel/lparcfg.c
+++ b/arch/powerpc/kernel/lparcfg.c
@@ -781,9 +781,9 @@ static int __init ...
Previous thread: powerpc/pseries: Serialize cpu hotplug operations during deactivate Vs deallocate by Linux Kernel Mailing List on Saturday, December 12, 2009 - 4:59 pm. (1 message)

Next thread: powerpc/5200: add general purpose timer API for the MPC5200 by Linux Kernel Mailing List on Saturday, December 12, 2009 - 4:59 pm. (1 message)