tmp_suning_uos_patched/arch
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
..
alpha header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
arm header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
arm26 header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
avr32 header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
blackfin blackfin architecture 2007-05-07 12:12:58 -07:00
cris dma_declare_coherent_memory wrong allocation 2007-05-08 11:15:14 -07:00
frv header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
h8300 header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
i386 dma_declare_coherent_memory wrong allocation 2007-05-08 11:15:14 -07:00
ia64 EFI: warn only for pre-1.00 system tables 2007-05-08 11:15:10 -07:00
m32r header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
m68k header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
m68knommu header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
mips Replace deprecated SA_xxx interrupt flags 2007-05-08 11:15:08 -07:00
parisc Simplify kallsyms_lookup() 2007-05-08 11:15:08 -07:00
powerpc Simplify kallsyms_lookup() 2007-05-08 11:15:08 -07:00
ppc header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
s390 header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
sh header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
sh64 Simplify kallsyms_lookup() 2007-05-08 11:15:08 -07:00
sparc header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
sparc64 header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
um uml: an idle system should have zero load average 2007-05-08 11:14:57 -07:00
v850 header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
x86_64 Kprobes: print details of kretprobe on assertion failure 2007-05-08 11:15:08 -07:00
xtensa header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00