linux_dsm_epyc7002/arch/powerpc/kernel
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
..
asm-offsets.c [PATCH] powerpc: Merge thread_info.h 2005-10-21 22:47:23 +10:00
binfmt_elf32.c ppc64: merge binfmt_elf32.c 2005-10-13 13:40:54 +10:00
btext.c powerpc: Get 64-bit configs to compile with ARCH=powerpc 2005-10-10 22:50:37 +10:00
cputable.c powerpc: consolidate cputable.c 2005-10-13 09:49:45 +10:00
entry_32.S [PATCH] powerpc: Merge thread_info.h 2005-10-21 22:47:23 +10:00
entry_64.S powerpc: change sys32_ to compat_sys_ 2005-10-18 14:51:57 +10:00
fpu.S powerpc: Use reg.h instead of processor.h when we just want reg names 2005-10-10 22:20:10 +10:00
head_4xx.S [PATCH] powerpc: replace use of _GLOBAL with .globl 2005-10-17 21:43:12 +10:00
head_8xx.S powerpc: merge idle_power4.S and trapc.s 2005-10-01 18:43:42 +10:00
head_32.S powerpc: Fix various compile errors with ARCH=ppc, ppc64 and powerpc 2005-10-18 14:19:41 +10:00
head_44x.S [PATCH] powerpc: replace use of _GLOBAL with .globl 2005-10-17 21:43:12 +10:00
head_64.S [PATCH] powerpc: Merge thread_info.h 2005-10-21 22:47:23 +10:00
head_fsl_booke.S [PATCH] powerpc: replace use of _GLOBAL with .globl 2005-10-17 21:43:12 +10:00
idle_6xx.S powerpc: Use reg.h instead of processor.h when we just want reg names 2005-10-10 22:20:10 +10:00
idle_power4.S [PATCH] powerpc: Fix use of LOADBASE in merge tree 2005-10-17 21:43:12 +10:00
init_task.c powerpc: make process.c suitable for both 32-bit and 64-bit 2005-10-10 22:29:05 +10:00
lparmap.c powerpc: move lparmap.c to arch/powerpc/kernel 2005-10-10 22:45:07 +10:00
Makefile [PATCH] powerpc: Merge ppc64 pmc.[ch] with ppc32 perfmon.[ch] 2005-10-20 16:22:24 +10:00
misc_32.S powerpc: Merge time.c and asm/time.h. 2005-10-20 09:23:26 +10:00
misc_64.S [PATCH] powerpc: Merge thread_info.h 2005-10-21 22:47:23 +10:00
of_device.c powerpc: Merge of_device.c and of_device.h 2005-10-06 13:22:17 +10:00
pmc.c [PATCH] powerpc: Merge ppc64 pmc.[ch] with ppc32 perfmon.[ch] 2005-10-20 16:22:24 +10:00
ppc_ksyms.c powerpc: Merge time.c and asm/time.h. 2005-10-20 09:23:26 +10:00
process.c [PATCH] powerpc: Don't blow away load_addr in start_thread 2005-10-21 22:47:39 +10:00
prom_init.c [PATCH] powerpc: Another maple merge tree fix 2005-10-17 21:43:12 +10:00
prom.c powerpc: Move default hash table size calculation to hash_utils_64.c 2005-10-12 16:58:53 +10:00
ptrace32.c powerpc: Move ptrace32.c from arch/ppc64 to arch/powerpc 2005-10-20 09:11:29 +10:00
ptrace.c powerpc: Move ptrace32.c from arch/ppc64 to arch/powerpc 2005-10-20 09:11:29 +10:00
semaphore.c powerpc: Merge enough to start building in arch/powerpc. 2005-09-26 16:04:21 +10:00
setup_32.c powerpc: Fix places where ppc_md.show_[per]cpuinfo was treated as int 2005-10-20 20:48:19 +10:00
setup_64.c ppc64: Move init_boot_text call and conswitchp init into setup_arch 2005-10-20 21:00:20 +10:00
signal_32.c powerpc: Eliminate a compile warning in signal_32.c 2005-10-19 23:13:04 +10:00
sys_ppc32.c Merge rsync://oak/kernels/iseries/work/ 2005-10-18 14:53:41 +10:00
syscalls.c [PATCH] powerpc: Fix mmap returning 64 bit addresses 2005-10-21 22:47:52 +10:00
systbl.S Merge rsync://oak/kernels/iseries/work/ 2005-10-18 14:53:41 +10:00
time.c powerpc: Fix some bugs in the new merged time code 2005-10-20 22:33:06 +10:00
traps.c [PATCH] powerpc: Merge ppc64 pmc.[ch] with ppc32 perfmon.[ch] 2005-10-20 16:22:24 +10:00
vecemu.c [PATCH] powerpc: Move arch/ppc*/kernel/vecemu.c to arch/powerpc 2005-09-21 19:21:07 +10:00
vector.S powerpc: Use reg.h instead of processor.h when we just want reg names 2005-10-10 22:20:10 +10:00
vmlinux.lds.S powerpc: Reduce the 32/64-bit diffs in vmlinux.lds.S 2005-10-10 22:38:46 +10:00