diff options
author | Michael Ellerman <mpe@ellerman.id.au> | 2016-11-14 06:28:10 +0100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2016-11-17 07:11:46 +0100 |
commit | 8f272a5dd6826f14e47110eccd37b6782bf74901 (patch) | |
tree | 49f5af47334affaa0fea6f0d73d8914401a8fa34 /drivers/ptp | |
parent | powerpc/mm: Fix typo in radix encodings print (diff) | |
download | linux-8f272a5dd6826f14e47110eccd37b6782bf74901.tar.xz linux-8f272a5dd6826f14e47110eccd37b6782bf74901.zip |
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>
Diffstat (limited to 'drivers/ptp')
0 files changed, 0 insertions, 0 deletions