PPC: Split context init/destroy functions
authorAlexander Graf <agraf@suse.de>
Thu, 15 Apr 2010 22:11:36 +0000 (00:11 +0200)
committerAvi Kivity <avi@redhat.com>
Mon, 17 May 2010 09:18:20 +0000 (12:18 +0300)
commitc83ec269e6931edf61abe1ed777ebb867b06a85c
treea346c886a435cb07c35c20c5f6ad685ab37535de
parent0737279427bef48f552b3ab63a6c0ba7491fe29f
PPC: Split context init/destroy functions

We need to reserve a context from KVM to make sure we have our own
segment space. While we did that split for Book3S_64 already, 32 bit
is still outstanding.

So let's split it now.

Signed-off-by: Alexander Graf <agraf@suse.de>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
CC: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/powerpc/include/asm/mmu_context.h
arch/powerpc/mm/mmu_context_hash32.c