summaryrefslogtreecommitdiffstats
path: root/arch/ppc/mm
diff options
context:
space:
mode:
authorMichael Ellerman <michael@ellerman.id.au>2005-10-21 16:01:34 +1000
committerPaul Mackerras <paulus@samba.org>2005-10-21 22:47:52 +1000
commit05d84681abcb33fe34accb5982c413daeb4208c4 (patch)
tree713c1ac65109ab1e2b0bd30a29bad13f2caee38e /arch/ppc/mm
parent90eac727c6d7afbe707ce408edf97c33385fa08c (diff)
downloadop-kernel-dev-05d84681abcb33fe34accb5982c413daeb4208c4.zip
op-kernel-dev-05d84681abcb33fe34accb5982c413daeb4208c4.tar.gz
[PATCH] powerpc: Fix mmap returning 64 bit addresses
The merge of syscalls.c & sys_ppc32.c (30286ef6e044bc3d9019c3d8b900572e3fa05e65) broke mmap, if the mmap returned a 64 bit address. do_mmap2 was taking the return value from do_mmap_pgoff (an unsigned long), and storing it in an int, before returning it to sys_mmap as an unsigned long. So we were losing the high bits of the address. You would have thought the compiler could catch this for us ... Signed-off-by: Michael Ellerman <michael@ellerman.id.au> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/ppc/mm')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud