Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/torvalds/linux.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>2022-02-17 13:24:06 +0300
committerThomas Gleixner <tglx@linutronix.de>2022-02-23 00:25:02 +0300
commit0ce055f85335e48bc571114d61a70ae217039362 (patch)
tree7fba237e2087750e6ea54b755c0fabdfaecea885 /kernel/signal.c
parente540bf3162e822d7a1f07e69e3bb1b4f925ca368 (diff)
fork: Use IS_ENABLED() in account_kernel_stack()
Not strickly needed but checking CONFIG_VMAP_STACK instead of task_stack_vm_area()' result allows the compiler the remove the else path in the CONFIG_VMAP_STACK case where the pointer can't be NULL. Check for CONFIG_VMAP_STACK in order to use the proper path. Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Andy Lutomirski <luto@kernel.org> Link: https://lore.kernel.org/r/20220217102406.3697941-9-bigeasy@linutronix.de
Diffstat (limited to 'kernel/signal.c')
0 files changed, 0 insertions, 0 deletions