]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/mm/slice: Convert slice_mask high slice to a bitmap
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Wed, 22 Mar 2017 03:36:47 +0000 (09:06 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 31 Mar 2017 12:09:53 +0000 (23:09 +1100)
commit49260c729c2922e1e44383fa64d8f18db7dada8e
treed6ec28c09acb59d823e5ff804a5319819d9c6fcc
parent0805aebde48df91fec4734cbb2b14b22068e2c68
powerpc/mm/slice: Convert slice_mask high slice to a bitmap

In followup patch we want to increase the va range which will result
in us requiring high_slices to have more than 64 bits. To enable this
convert high_slices to bitmap. We keep the number bits same in this patch
and later change that to higher value

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
[mpe: Fold in fix to use bitmap_empty()]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/page_64.h
arch/powerpc/mm/slice.c