Skip to content
Commit 4189ff23 authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Tony Luck
Browse files

kernel: only define task_struct_whitelist conditionally



If CONFIG_ARCH_TASK_STRUCT_ALLOCATOR is set task_struct_whitelist is
never called, and thus generates a compiler warning.

Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Link: https://lkml.kernel.org/r/20190812065524.19959-5-hch@lst.de


Signed-off-by: default avatarTony Luck <tony.luck@intel.com>
parent d0d82d24
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment