• Andrew Morton's avatar
    dma_alloc_coherent: clean it up · eccd83e1
    Andrew Morton authored
    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: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    eccd83e1
dma-coherent.c 4.41 KB