From: Andrew Morton Date: Tue, 6 Jan 2009 22:43:09 +0000 (-0800) Subject: dma_alloc_coherent: clean it up X-Git-Tag: v2.6.29-rc1~236 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eccd83e116e7f414a1da3aae3745384b7b171883;p=pandora-kernel.git 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 Cc: Johannes Weiner Cc: Pekka Enberg Cc: Dmitry Baryshkov Cc: Jesse Barnes Cc: Tetsuo Handa Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed