lib/stackdepot: rename stack_depot_disable
authorAndrey Konovalov <andreyknvl@google.com>
Fri, 10 Feb 2023 21:15:52 +0000 (22:15 +0100)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 17 Feb 2023 04:43:49 +0000 (20:43 -0800)
commit735df3c3a3493cbedfa86739eec6e2ee37fe95f8
tree0a8e1ac6725992ba884f14555fbe445a13099b4d
parent1c0310add78e7e47e3357c24369b61453a5a72eb
lib/stackdepot: rename stack_depot_disable

Rename stack_depot_disable to stack_depot_disabled to make its name look
similar to the names of other stack depot flags.

Also put stack_depot_disabled's definition together with the other flags.

Also rename is_stack_depot_disabled to disable_stack_depot: this name
looks more conventional for a function that processes a boot parameter.

No functional changes.

Link: https://lkml.kernel.org/r/d78a07d222e689926e5ead229e4a2e3d87dc9aa7.1676063693.git.andreyknvl@google.com
Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
Reviewed-by: Alexander Potapenko <glider@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
lib/stackdepot.c