powerpc: Fix build error for book3e
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Tue, 30 Apr 2013 20:26:08 +0000 (20:26 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 2 May 2013 00:37:37 +0000 (10:37 +1000)
commit54d5999d98f2ab36ad71b9ef4d82cf5f399205f5
treeb7d60743f2e270a30e722982072520ec5ee70357
parent9353374b8e1585d5fa47a1e5c1d3e9155dd0eb7c
powerpc: Fix build error for book3e

We moved the definition of shift_to_mmu_psize and mmu_psize_to_shift
out of hugetlbpage.c in patch "powerpc: New hugepage directory format".

These functions are not related to hugetlbpage and we want to use them
outside hugetlbpage.c We missed a definition for book3e when we moved
these functions. Add similar functions to mmu-book3e.h

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/mmu-book3e.h