]> git.karo-electronics.de Git - linux-beck.git/commit
powerpc/eeh: Move common part to kernel directory
authorGavin Shan <shangw@linux.vnet.ibm.com>
Thu, 20 Jun 2013 05:20:52 +0000 (13:20 +0800)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 20 Jun 2013 07:05:35 +0000 (17:05 +1000)
commit317f06de78152e0eb0aab5881d69e4c5cdf9f1fe
tree7e3253345db6e8bab2089eee8cd268ac0c90ac9b
parenta84f273c30500c0d5816e07232e3326a61956016
powerpc/eeh: Move common part to kernel directory

The patch moves the common part of EEH core into arch/powerpc/kernel
directory so that we needn't PPC_PSERIES while compiling POWERNV
platform:

        * Move the EEH common part into arch/powerpc/kernel
        * Move the functions for PCI hotplug from pSeries platform to
          arch/powerpc/kernel/pci-hotplug.c
        * Move CONFIG_EEH from arch/powerpc/platforms/pseries/Kconfig to
          arch/powerpc/platforms/Kconfig
        * Adjust makefile accordingly

Signed-off-by: Gavin Shan <shangw@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
13 files changed:
arch/powerpc/kernel/Makefile
arch/powerpc/kernel/eeh.c [moved from arch/powerpc/platforms/pseries/eeh.c with 100% similarity]
arch/powerpc/kernel/eeh_cache.c [moved from arch/powerpc/platforms/pseries/eeh_cache.c with 99% similarity]
arch/powerpc/kernel/eeh_dev.c [moved from arch/powerpc/platforms/pseries/eeh_dev.c with 100% similarity]
arch/powerpc/kernel/eeh_driver.c [moved from arch/powerpc/platforms/pseries/eeh_driver.c with 99% similarity]
arch/powerpc/kernel/eeh_event.c [moved from arch/powerpc/platforms/pseries/eeh_event.c with 100% similarity]
arch/powerpc/kernel/eeh_pe.c [moved from arch/powerpc/platforms/pseries/eeh_pe.c with 100% similarity]
arch/powerpc/kernel/eeh_sysfs.c [moved from arch/powerpc/platforms/pseries/eeh_sysfs.c with 99% similarity]
arch/powerpc/kernel/pci-hotplug.c [new file with mode: 0644]
arch/powerpc/platforms/Kconfig
arch/powerpc/platforms/pseries/Kconfig
arch/powerpc/platforms/pseries/Makefile
arch/powerpc/platforms/pseries/pci_dlpar.c