mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-26 16:41:25 +00:00
powerpc/mm/hash: Convert mask to unsigned long
This doesn't have any functional change. But helps in avoiding mistakes in case the shift bit changes Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
This commit is contained in:
parent
e6f81a9201
commit
59248aecc4
1 changed files with 1 additions and 1 deletions
|
@ -409,7 +409,7 @@ static inline unsigned long hpt_vpn(unsigned long ea,
|
||||||
static inline unsigned long hpt_hash(unsigned long vpn,
|
static inline unsigned long hpt_hash(unsigned long vpn,
|
||||||
unsigned int shift, int ssize)
|
unsigned int shift, int ssize)
|
||||||
{
|
{
|
||||||
int mask;
|
unsigned long mask;
|
||||||
unsigned long hash, vsid;
|
unsigned long hash, vsid;
|
||||||
|
|
||||||
/* VPN_SHIFT can be atmost 12 */
|
/* VPN_SHIFT can be atmost 12 */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue