diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2005-08-17 10:11:10 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2005-10-29 19:32:09 +0100 |
commit | 533330bf7fa19854f3b4accd2b84ff58e3ee160f (patch) | |
tree | 841eb3e66c58a34a7f57701fa50fd6d7bbafcda5 /include/asm-mips/mipsregs.h | |
parent | 0952e2905c6bc2e12a43910c7eb898b6481a57b5 (diff) | |
download | op-kernel-dev-533330bf7fa19854f3b4accd2b84ff58e3ee160f.zip op-kernel-dev-533330bf7fa19854f3b4accd2b84ff58e3ee160f.tar.gz |
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: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'include/asm-mips/mipsregs.h')
0 files changed, 0 insertions, 0 deletions