Split init_new_context and destroy_context
authorAlexander Graf <agraf@suse.de>
Mon, 2 Nov 2009 12:02:30 +0000 (12:02 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 5 Nov 2009 05:50:25 +0000 (16:50 +1100)
For KVM we need to allocate a new context id, but don't really care about
all the mm context around it.

So let's split the alloc and destroy functions for the context id, so we can
grab one without allocating an mm context.

Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>

No differences found