summaryrefslogtreecommitdiffstats
path: root/init/main.c
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2018-12-28 09:40:00 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2018-12-28 21:11:52 +0100
commit0f4991e8fd48987ae476a92cdee6bfec4aff31b8 (patch)
treeac2c4d96bde3b7782b89f99b3561c84b7b7d857a /init/main.c
parentmemcg, oom: notify on oom killer invocation from the charge path (diff)
downloadlinux-0f4991e8fd48987ae476a92cdee6bfec4aff31b8.tar.xz
linux-0f4991e8fd48987ae476a92cdee6bfec4aff31b8.zip
kernel/fork.c: mark 'stack_vm_area' with __maybe_unused
Fixes gcc '-Wunused-but-set-variable' warning when CONFIG_VMAP_STACK is not set: kernel/fork.c: In function 'dup_task_struct': kernel/fork.c:843:20: warning: variable 'stack_vm_area' set but not used [-Wunused-but-set-variable] Link: http://lkml.kernel.org/r/1545965190-2381-1-git-send-email-yuehaibing@huawei.com Signed-off-by: YueHaibing <yuehaibing@huawei.com> Reviewed-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'init/main.c')
0 files changed, 0 insertions, 0 deletions