|
@@ -224,7 +224,7 @@ struct zs_pool {
|
|
|
* performs VM mapping faster than copying, then it should be added here
|
|
|
* so that USE_PGTABLE_MAPPING is defined. This causes zsmalloc to use
|
|
|
* page table mapping rather than copying for object mapping.
|
|
|
-*/
|
|
|
+ */
|
|
|
#if defined(CONFIG_ARM) && !defined(MODULE)
|
|
|
#define USE_PGTABLE_MAPPING
|
|
|
#endif
|
|
@@ -967,7 +967,7 @@ EXPORT_SYMBOL_GPL(zs_free);
|
|
|
* against nested mappings.
|
|
|
*
|
|
|
* This function returns with preemption and page faults disabled.
|
|
|
-*/
|
|
|
+ */
|
|
|
void *zs_map_object(struct zs_pool *pool, unsigned long handle,
|
|
|
enum zs_mapmode mm)
|
|
|
{
|