mm, CMA: change cma_declare_contiguous() to obey coding convention
authorJoonsoo Kim <[email protected]>
Wed, 6 Aug 2014 23:05:32 +0000 (16:05 -0700)
committerLinus Torvalds <[email protected]>
Thu, 7 Aug 2014 01:01:16 +0000 (18:01 -0700)
commitc1f733aaaf30a0068a3126d5aa9d5b4c25ba4c0c
tree1ce1c8d6c2c76afcd2672e2d7a623fe62187bffb
parentb7155e76a702d97553660828347b9f10858b4dd5
mm, CMA: change cma_declare_contiguous() to obey coding convention

Conventionally, we put output param to the end of param list and put the
'base' ahead of 'size', but cma_declare_contiguous() doesn't look like
that, so change it.

Additionally, move down cma_areas reference code to the position where
it is really needed.

Signed-off-by: Joonsoo Kim <[email protected]>
Acked-by: Michal Nazarewicz <[email protected]>
Reviewed-by: Aneesh Kumar K.V <[email protected]>
Cc: Alexander Graf <[email protected]>
Cc: Aneesh Kumar K.V <[email protected]>
Cc: Gleb Natapov <[email protected]>
Acked-by: Marek Szyprowski <[email protected]>
Tested-by: Marek Szyprowski <[email protected]>
Cc: Minchan Kim <[email protected]>
Cc: Paolo Bonzini <[email protected]>
Cc: Zhang Yanfei <[email protected]>
Cc: Benjamin Herrenschmidt <[email protected]>
Cc: Paul Mackerras <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
arch/powerpc/kvm/book3s_hv_builtin.c
drivers/base/dma-contiguous.c
include/linux/cma.h
mm/cma.c