summaryrefslogtreecommitdiffstats
path: root/drivers/isdn/i4l
diff options
context:
space:
mode:
authorHaavard Skinnemoen <hskinnemoen@atmel.com>2007-06-18 14:08:18 +0200
committerHaavard Skinnemoen <hskinnemoen@atmel.com>2007-06-23 14:52:52 +0200
commitab61f7d21ab7f564fce322c498e4a7d6171140db (patch)
treed7fbdeea3ea85fd65ce20a5132e4264cb866c9c9 /drivers/isdn/i4l
parentx86_64: Ignore compat mode SYSCALL when IA32_EMULATION is not defined (diff)
downloadlinux-ab61f7d21ab7f564fce322c498e4a7d6171140db.tar.xz
linux-ab61f7d21ab7f564fce322c498e4a7d6171140db.zip
[AVR32] Fix bug in invalidate_dcache_region()
If (start + size) is not cacheline aligned and (start & mask) > (end & mask), the last but one cacheline won't be invalidated as it should. Fix this by rounding `end' down to the nearest cacheline boundary if it gets adjusted due to misalignment. Also flush the write buffer unconditionally -- if the dcache wrote back a line just before we invalidated it, the dirty data may be sitting in the write buffer waiting to corrupt our buffer later. Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
Diffstat (limited to 'drivers/isdn/i4l')
0 files changed, 0 insertions, 0 deletions