powerpc/mm/slice: Remove slice_mm_new_context()
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Mon, 2 May 2016 12:56:07 +0000 (18:26 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 11 May 2016 11:54:00 +0000 (21:54 +1000)
commit62ccf5bf1f4704986844440069df70b6509a9213
treeb36ff4cb9f876fb13fc530458ab5ad9df45946db
parent2d566537dd2c69bd6898ef5d95ecccdfbab97eef
powerpc/mm/slice: Remove slice_mm_new_context()

The usage in mm mmu_context_nohash.c is bogus, because we set the
context.id value to MMU_NO_CONTEXT 4 lines previously in the same
function, meaning slice_mm_new_context() will always be true.

The book3s 64 usage was removed in the previous commit. So remove it as
unused.

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/page_64.h
arch/powerpc/mm/mmu_context_nohash.c