linux-sg2042/arch/cris
Guennadi Liakhovetski b247e8aaf2 dma_declare_coherent_memory wrong allocation
dma_declare_coherent_memory() allocates a bitmap 1 bit per page, it
calculates the bitmap size based on size of long, but allocates bytes...
Thanks to James Bottomley for clarifications and corrections.

Signed-off-by: G. Liakhovetski <g.liakhovetski@gmx.de>
Acked-by: James Bottomley <James.Bottomley@SteelEye.com>
Cc: Mikael Starvik <starvik@axis.com>
Cc: Andi Kleen <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-05-08 11:15:14 -07:00
..
arch-v10 header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
arch-v32 dma_declare_coherent_memory wrong allocation 2007-05-08 11:15:14 -07:00
kernel header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
mm [PATCH] CRIS: user ARRAY_SIZE macro when appropriate 2007-02-11 10:51:20 -08:00
Kconfig [PATCH] sort the devres mess out 2007-02-11 11:18:07 -08:00
Kconfig.debug [PATCH] arch/cris/Kconfig.debug: use lib/Kconfig.debug 2005-09-05 00:06:19 -07:00
Makefile cris: asm-offsets related build failure 2006-01-21 12:04:14 +01:00
defconfig [PATCH] CRIS update: configuration and build 2005-07-27 16:25:59 -07:00