zsmalloc: change return value unit of zs_get_total_size_bytes
[firefly-linux-kernel-4.4.55.git] / include / linux / zsmalloc.h
index e44d634e7fb79bbe55da8153828be1b81e20d722..05c21476097796d30639dbf7a3521b4e81604d4b 100644 (file)
@@ -46,6 +46,6 @@ void *zs_map_object(struct zs_pool *pool, unsigned long handle,
                        enum zs_mapmode mm);
 void zs_unmap_object(struct zs_pool *pool, unsigned long handle);
 
-u64 zs_get_total_size_bytes(struct zs_pool *pool);
+unsigned long zs_get_total_pages(struct zs_pool *pool);
 
 #endif