diff options
| author | Laura Abbott <lauraa@codeaurora.org> | 2012-11-27 10:17:24 -0800 |
|---|---|---|
| committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-22 11:03:37 -0700 |
| commit | e48a20a27c9c052bd4d13797d4789b674a388cef (patch) | |
| tree | fcaa39e7ece0d1703bacbd56020aed9e4f6c1f54 /include/linux | |
| parent | 8918861861bc650f17d110b2e721bc6b8d406e08 (diff) | |
mm: Add is_cma_pageblock definition
Bring back the is_cma_pageblock definition for determining if a
page is CMA or not.
Change-Id: I39fd546e22e240b752244832c79514f109c8e84b
Signed-off-by: Laura Abbott <lauraa@codeaurora.org>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/mmzone.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/mmzone.h b/include/linux/mmzone.h index e23a9e704536..423d214f708b 100644 --- a/include/linux/mmzone.h +++ b/include/linux/mmzone.h @@ -64,8 +64,10 @@ enum { }; #ifdef CONFIG_CMA +bool is_cma_pageblock(struct page *page); # define is_migrate_cma(migratetype) unlikely((migratetype) == MIGRATE_CMA) #else +# define is_cma_pageblock(page) false # define is_migrate_cma(migratetype) false #endif |
