Home
last modified time | relevance | path

Searched hist:"30286 ef6e044bc3d9019c3d8b900572e3fa05e65" (Results 1 – 3 of 3) sorted by relevance

/linux/arch/powerpc/kernel/
H A Dsyscalls.cdiff 05d84681abcb33fe34accb5982c413daeb4208c4 Fri Oct 21 08:01:34 CEST 2005 Michael Ellerman <michael@ellerman.id.au> [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>
30286ef6e044bc3d9019c3d8b900572e3fa05e65 Mon Oct 17 12:10:13 CEST 2005 Paul Mackerras <paulus@samba.org> powerpc: Merge syscalls.c and sys_ppc32.c.

Signed-off-by: Paul Mackerras <paulus@samba.org>
H A Dsys_ppc32.c30286ef6e044bc3d9019c3d8b900572e3fa05e65 Mon Oct 17 12:10:13 CEST 2005 Paul Mackerras <paulus@samba.org> powerpc: Merge syscalls.c and sys_ppc32.c.

Signed-off-by: Paul Mackerras <paulus@samba.org>
H A DMakefilediff 30286ef6e044bc3d9019c3d8b900572e3fa05e65 Mon Oct 17 12:10:13 CEST 2005 Paul Mackerras <paulus@samba.org> powerpc: Merge syscalls.c and sys_ppc32.c.

Signed-off-by: Paul Mackerras <paulus@samba.org>