linux-stable/arch/powerpc
Michael Ellerman 8f272a5dd6 powerpc/pseries: Move CMO code from plapr_wrappers.h to platforms/pseries
Currently there's some CMO (Cooperative Memory Overcommit) code, in
plpar_wrappers.h. Some of it is #ifdef CONFIG_PSERIES and some of it
isn't. The end result being if a file includes plpar_wrappers.h it won't
build with CONFIG_PSERIES=n.

Fix it by moving the CMO code into platforms/pseries. The two hcall
wrappers can just be moved into their only caller, cmm.c, and the
accessors can go in pseries.h.

Note we need the accessors because cmm.c can be built as a module, so
there needs to be a split between the built-in code vs the module, and
that's achieved by using those accessors.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2016-11-17 17:11:46 +11:00
..
boot powerpc/boot: Fix boot on systems with uncompressed kernel image 2016-10-19 20:35:34 +11:00
configs powerpc: convert storcenter_defconfig to use libata PATA drivers 2016-11-14 20:09:32 +11:00
crypto Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 2016-10-10 14:04:16 -07:00
include powerpc/pseries: Move CMO code from plapr_wrappers.h to platforms/pseries 2016-11-17 17:11:46 +11:00
kernel powerpc/vio: Clarify vio_find_node() reference counting 2016-11-14 20:05:59 +11:00
kvm KVM: PPC: Book3S HV: Fix build error when SMP=n 2016-10-22 08:44:37 +11:00
lib powerpc: EX_TABLE macro for exception tables 2016-11-14 11:11:51 +11:00
math-emu
mm powerpc/mm: Fix typo in radix encodings print 2016-11-17 17:11:45 +11:00
net powerpc/bpf: Add support for bpf constant blinding 2016-10-04 20:33:20 +11:00
oprofile powerpc/sparse: Make a bunch of things static 2016-09-13 17:35:47 +10:00
perf powerpc/sparse: Make a bunch of things static 2016-09-13 17:35:47 +10:00
platforms powerpc/pseries: Move CMO code from plapr_wrappers.h to platforms/pseries 2016-11-17 17:11:46 +11:00
scripts
sysdev powerpc: Add support for relative exception tables 2016-11-14 11:11:51 +11:00
xmon powerpc/xmon: Don't use ld on 32-bit 2016-09-13 17:37:02 +10:00
Kconfig powerpc/64: Add an option to force run-at-load to test relocation 2016-11-14 11:11:51 +11:00
Kconfig.debug powerpc/mm: Catch usage of cpu/mmu_has_feature() before jump label init 2016-08-01 11:15:06 +10:00
Makefile powerpc/book3s64: Always build for power4 or later 2016-11-14 11:11:51 +11:00
relocs_check.sh powerpc/64: whitelist unresolved modversions CRCs 2016-09-22 14:46:31 +02:00