summaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel/traps.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2005-08-17 12:11:10 +0200
committerRalf Baechle <ralf@linux-mips.org>2005-10-29 20:32:09 +0200
commit533330bf7fa19854f3b4accd2b84ff58e3ee160f (patch)
tree841eb3e66c58a34a7f57701fa50fd6d7bbafcda5 /arch/mips/kernel/traps.c
parentFix parenthesis in macros. (diff)
downloadlinux-533330bf7fa19854f3b4accd2b84ff58e3ee160f.tar.xz
linux-533330bf7fa19854f3b4accd2b84ff58e3ee160f.zip
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 'arch/mips/kernel/traps.c')
0 files changed, 0 insertions, 0 deletions