diff options
| author | Sebastian Andrzej Siewior <[email protected]> | 2022-02-17 10:24:06 +0000 |
|---|---|---|
| committer | Thomas Gleixner <[email protected]> | 2022-02-22 21:25:02 +0000 |
| commit | 0ce055f85335e48bc571114d61a70ae217039362 (patch) | |
| tree | 7fba237e2087750e6ea54b755c0fabdfaecea885 /drivers/acpi/cppc_acpi.c | |
| parent | fork: Only cache the VMAP stack in finish_task_switch() (diff) | |
| download | kernel-0ce055f85335e48bc571114d61a70ae217039362.tar.gz kernel-0ce055f85335e48bc571114d61a70ae217039362.zip | |
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 <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Acked-by: Andy Lutomirski <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/acpi/cppc_acpi.c')
0 files changed, 0 insertions, 0 deletions
