linux/arch/powerpc
Michael Ellerman 05d84681ab [PATCH] powerpc: Fix mmap returning 64 bit addresses
The merge of syscalls.c & sys_ppc32.c (30286ef6e0)
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>
2005-10-21 22:47:52 +10:00
..
kernel [PATCH] powerpc: Fix mmap returning 64 bit addresses 2005-10-21 22:47:52 +10:00
lib powerpc: Fix a corner case in __div64_32 2005-10-20 09:37:02 +10:00
mm [PATCH] powerpc: Some more fixes to allow building for a Book-E processor 2005-10-20 09:43:32 +10:00
oprofile [PATCH] powerpc: Merge ppc64 pmc.[ch] with ppc32 perfmon.[ch] 2005-10-20 16:22:24 +10:00
platforms powerpc: Fix some bugs in the new merged time code 2005-10-20 22:33:06 +10:00
sysdev powerpc: Move smp_mpic_message_pass into mpic.c 2005-10-20 17:09:51 +10:00
Kconfig powerpc: Make CONFIG_PROC_DEVICETREE independent of CONFIG_PPC_OF 2005-10-17 20:14:59 +10:00
Kconfig.debug powerpc: Merge Kconfig.debug 2005-10-10 22:15:52 +10:00
Makefile ppc64: Minor compilation fixes 2005-10-20 09:15:05 +10:00