diff options
author | 2009-01-06 14:43:09 -0800 | |
---|---|---|
committer | 2009-01-06 15:59:31 -0800 | |
commit | eccd83e116e7f414a1da3aae3745384b7b171883 (patch) | |
tree | 3cc2e2778ecafa34be3380bc85ec9d72b94b5292 /include/linux/kernel.h | |
parent | dma_alloc_from_coherent(): fix fallback to generic memory (diff) | |
download | wireguard-linux-eccd83e116e7f414a1da3aae3745384b7b171883.tar.xz wireguard-linux-eccd83e116e7f414a1da3aae3745384b7b171883.zip |
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>
Diffstat (limited to 'include/linux/kernel.h')
0 files changed, 0 insertions, 0 deletions