Skip to content
Commit 533330bf authored by Ralf Baechle's avatar Ralf Baechle
Browse files

On CONFIG_64BIT_PHYS_ADDR, pfn always fits in 'unsigned long', but


pfn<<PAGE_SHIFT sometimes extends beyond.  The pte is big enough to hold
'long long', but the shift in pfn_pte() needs to do its calculation with
enough bits to hold the result.

Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 0952e290
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment