powerpc: Add function to copy mm_context_t to the paca
authorMichael Neuling <mikey@neuling.org>
Wed, 28 Oct 2015 04:54:06 +0000 (15:54 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Sat, 19 Dec 2015 11:13:12 +0000 (22:13 +1100)
commitc395465da68bfc3a238d5bc15f862e33e6e9ecec
tree0d337e9be2ae4a34b8ccd9314c5265499746ff33
parent1b855e167b90fcb353977c08932d0a52eb8ae5b9
powerpc: Add function to copy mm_context_t to the paca

This adds a function to copy the mm->context to the paca.  This is
only a basic conversion for now but will be used more extensively in
the next patch.

This also adds #ifdef CONFIG_PPC_BOOK3S around this code since it's
not used elsewhere.

Signed-off-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/paca.h
arch/powerpc/kernel/asm-offsets.c
arch/powerpc/mm/hash_utils_64.c
arch/powerpc/mm/slb.c
arch/powerpc/mm/slice.c