]> git.karo-electronics.de Git - karo-tx-linux.git/commit
CMA: fix ARM build failure related to MAX_CMA_AREAS definition
authorJoonsoo Kim <iamjoonsoo.kim@lge.com>
Thu, 26 Jun 2014 00:42:33 +0000 (10:42 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 26 Jun 2014 00:42:33 +0000 (10:42 +1000)
commit0441284be151a3780f37f718b45285cb868342bd
treefe848177213a1bc8f897b5bcdbb32ebff71e1dba
parentdb1cfcbdbd5e37eef242fa1ac9e5aa206f445ade
CMA: fix ARM build failure related to MAX_CMA_AREAS definition

If CMA is disabled, CONFIG_CMA_AREAS isn't defined so compile error
happens. To fix it, define MAX_CMA_AREAS if CONFIG_CMA_AREAS
isn't defined.

Signed-off-by: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/cma.h