summaryrefslogtreecommitdiffstats
path: root/arch/avr32/kernel/entry-avr32b.S
diff options
context:
space:
mode:
authorHaavard Skinnemoen2007-12-03 18:04:11 +0100
committerHaavard Skinnemoen2007-12-07 14:54:47 +0100
commit68ca3e537f12044af05a653fa9d28b4fe80117e8 (patch)
treea8a2e4f9e2e18e031739a8af1e8e3d08af1770ac /arch/avr32/kernel/entry-avr32b.S
parent[AVR32] Follow the rules when dealing with the OCD system (diff)
downloadkernel-qcow2-linux-68ca3e537f12044af05a653fa9d28b4fe80117e8.tar.gz
kernel-qcow2-linux-68ca3e537f12044af05a653fa9d28b4fe80117e8.tar.xz
kernel-qcow2-linux-68ca3e537f12044af05a653fa9d28b4fe80117e8.zip
[AVR32] Fix copy_to_user_page() breakage
The current implementation of copy_to_user_page() gives "vaddr" to the cache instruction when trying to sync the icache with the dcache. If vaddr does not exist in the TLB, the CPU will silently abort the operation, which may result in the caches staying out of sync. To fix this, pass the "dst" parameter to flush_icache_range() instead -- we know this is valid because we just wrote to it. Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
Diffstat (limited to 'arch/avr32/kernel/entry-avr32b.S')
0 files changed, 0 insertions, 0 deletions