microblaze: Fix sparse warning - consistent_alloc function
authorMichal Simek <monstr@monstr.eu>
Mon, 7 Feb 2011 10:42:37 +0000 (11:42 +0100)
committerMichal Simek <monstr@monstr.eu>
Wed, 9 Mar 2011 07:09:58 +0000 (08:09 +0100)
commitcd44da154241170be3f1fadb1f2ca689f6802628
treeb27974304a6ae84779029f0d4807d8eed8d02a2e
parentc1df53b33c818d28d5e3b287530373e78a7904e7
microblaze: Fix sparse warning - consistent_alloc function

Warning in dma.c was caused by incorrect type in consistent_alloc function.

Warning log:
CHECK   arch/microblaze/kernel/dma.c
arch/microblaze/kernel/dma.c:53:26: warning: incorrect type in argument 1 (different base types)
arch/microblaze/kernel/dma.c:53:26:    expected int [signed] gfp
arch/microblaze/kernel/dma.c:53:26:    got restricted unsigned int [usertype] flag

Signed-off-by: Michal Simek <monstr@monstr.eu>
arch/microblaze/include/asm/pgtable.h
arch/microblaze/mm/consistent.c