Revision 9a40ac86152c9cffd3dca482a15ddf9a8c5716b3 authored by Khem Raj on 04 June 2010, 03:05:15 UTC, committed by Russell King on 08 June 2010, 18:42:18 UTC
When functions incoming parameters are not in input operands list gcc 4.5 does not load the parameters into registers before calling this function but the inline assembly assumes valid addresses inside this function. This breaks the code because r0 and r1 are invalid when execution enters v4wb_copy_user_page () Also the constant needs to be used as third input operand so account for that as well. Tested on qemu arm. CC: <stable@kernel.org> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
1 parent 76962be
File | Mode | Size |
---|---|---|
.gitignore | -rw-r--r-- | 151 bytes |
Kconfig | -rw-r--r-- | 4.8 KB |
Makefile | -rw-r--r-- | 2.2 KB |
gen_init_cpio.c | -rw-r--r-- | 12.3 KB |
initramfs_data.S | -rw-r--r-- | 1021 bytes |
initramfs_data.bz2.S | -rw-r--r-- | 1.0 KB |
initramfs_data.gz.S | -rw-r--r-- | 1023 bytes |
initramfs_data.lzma.S | -rw-r--r-- | 1.0 KB |
initramfs_data.lzo.S | -rw-r--r-- | 1.0 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...