commit | c395465da68bfc3a238d5bc15f862e33e6e9ecec | [log] [tgz] |
---|---|---|
author | Michael Neuling <mikey@neuling.org> | Wed Oct 28 15:54:06 2015 +1100 |
committer | Michael Ellerman <mpe@ellerman.id.au> | Sat Dec 19 22:13:12 2015 +1100 |
tree | 0d337e9be2ae4a34b8ccd9314c5265499746ff33 | |
parent | 1b855e167b90fcb353977c08932d0a52eb8ae5b9 [diff] |
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>