]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
dma_alloc_coherent: clean it up
authorAndrew Morton <akpm@linux-foundation.org>
Tue, 6 Jan 2009 22:43:09 +0000 (14:43 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 6 Jan 2009 23:59:31 +0000 (15:59 -0800)
commiteccd83e116e7f414a1da3aae3745384b7b171883
tree3cc2e2778ecafa34be3380bc85ec9d72b94b5292
parent0bef3c2dc7d0c8238330785c8f4504761b0e370b
dma_alloc_coherent: clean it up

This thing was rather stupidly coded.  Rework it all prior to making
changes.

Also, rename local variable `page': kernel readers expect something called
`page' to have type `struct page *'.

Cc: Guennadi Liakhovetski <lg@denx.de>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Pekka Enberg <penberg@cs.helsinki.fi>
Cc: Dmitry Baryshkov <dbaryshkov@gmail.com>
Cc: Jesse Barnes <jbarnes@virtuousgeek.org>
Cc: Tetsuo Handa <penguin-kernel@i-love.sakura.ne.jp>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/dma-coherent.c