]> git.baikalelectronics.ru Git - kernel.git/commit
Blackfin arch: fix bug - dmacopy test case fail on all platform
authorMike Frysinger <vapier.adi@gmail.com>
Tue, 18 Nov 2008 09:48:22 +0000 (17:48 +0800)
committerBryan Wu <cooloney@kernel.org>
Tue, 18 Nov 2008 09:48:22 +0000 (17:48 +0800)
commitc3f0c4a045cdb78d1a45d86854152c71126d8874
treeb2913d1dad2492adba6413a820c80372fbb2b208
parentb3aa1ec3dc67698283655aa7015a2a4abadb73ac
Blackfin arch: fix bug - dmacopy test case fail on all platform

The cache code I added flushes 1 line too little if the start address is
not aligned to the cache size. Cache align the start address so that when
we straddle cache aligns, we get the right count.

Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
arch/blackfin/mach-common/cache.S