]> git.karo-electronics.de Git - karo-tx-linux.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)
commitf3207c124e7aa8d4d9cf32cc45b10ceb4defedb9
treed6ec28c09acb59d823e5ff804a5319819d9c6fcc
parent6aa59f5162fcca09c7dcc84d64e2ebd1e7449884
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