mm: cma: fix condition check when setting global cma area
authorMarek Szyprowski <m.szyprowski@samsung.com>
Fri, 6 Jul 2012 10:02:04 +0000 (12:02 +0200)
committerMarek Szyprowski <m.szyprowski@samsung.com>
Fri, 6 Jul 2012 10:02:04 +0000 (12:02 +0200)
commitcc2caea5b6152b8ce66dc2bbe83dc72b60612da8
treec39d09978bd8f2f7f29771b80b4064e2aabd5d2d
parent6a6dccba2fdc2a69f1f36b8f1c0acc8598e7221b
mm: cma: fix condition check when setting global cma area

dev_set_cma_area incorrectly assigned cma to global area on first call
due to incorrect check. This patch fixes this issue.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
include/asm-generic/dma-contiguous.h