powerpc/pseries: Move mm/book3s64/vphn.c under platforms/pseries/

hcall_vphn() is specific to pseries and will be used in a subsequent
patch. So, move it to a more appropriate place under
arch/powerpc/platforms/pseries. Also merge vphn.h into lppaca.h
and update vphn selftest to use the new files.

Signed-off-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
This commit is contained in:
Naveen N. Rao
2019-07-03 22:33:59 +05:30
committed by Michael Ellerman
parent ef34e0efa2
commit 5a1ea4774d
10 changed files with 46 additions and 44 deletions

View File

@@ -1,7 +1,7 @@
# SPDX-License-Identifier: GPL-2.0-only
TEST_GEN_PROGS := test-vphn
CFLAGS += -m64
CFLAGS += -m64 -I$(CURDIR)
top_srcdir = ../../../../..
include ../../lib.mk

View File

@@ -0,0 +1 @@
../../../../../../arch/powerpc/include/asm/lppaca.h

View File

@@ -1 +1 @@
../../../../../arch/powerpc/mm/book3s64/vphn.c
../../../../../arch/powerpc/platforms/pseries/vphn.c

View File

@@ -1 +0,0 @@
../../../../../arch/powerpc/mm/book3s64/vphn.h