Re: linux-next: Tree for Aug 27 (mm/zsmalloc.c)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On (08/27/19 08:37), Randy Dunlap wrote:
> on x86_64:
> 
> In file included from ../include/linux/mmzone.h:10:0,
>                  from ../include/linux/gfp.h:6,
>                  from ../include/linux/umh.h:4,
>                  from ../include/linux/kmod.h:9,
>                  from ../include/linux/module.h:13,
>                  from ../mm/zsmalloc.c:33:
> ../mm/zsmalloc.c: In function ‘zs_create_pool’:
> ../mm/zsmalloc.c:2416:27: error: ‘struct zs_pool’ has no member named ‘migration_wait’
>   init_waitqueue_head(&pool->migration_wait);
>                            ^
> ../include/linux/wait.h:67:26: note: in definition of macro ‘init_waitqueue_head’
>    __init_waitqueue_head((wq_head), #wq_head, &__key);  \
>                           ^~~~~~~

Thanks.

I believe akpm has a patch for that build error.

===========

--- a/mm/zsmalloc.c~mm-zsmallocc-fix-build-when-config_compaction=n
+++ a/mm/zsmalloc.c
@@ -2412,7 +2412,9 @@ struct zs_pool *zs_create_pool(const cha
        if (!pool->name)
                goto err;

+#ifdef CONFIG_COMPACTION
        init_waitqueue_head(&pool->migration_wait);
+#endif

===========

	-ss





[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux