]> www.infradead.org Git - users/jedix/linux-maple.git/commit
x86/mtrr: Use str_enabled_disabled() helper in print_mtrr_state()
authorThorsten Blum <thorsten.blum@linux.dev>
Fri, 17 Jan 2025 14:48:59 +0000 (15:48 +0100)
committerIngo Molnar <mingo@kernel.org>
Wed, 19 Mar 2025 10:17:56 +0000 (11:17 +0100)
commitad5a3a8f41aaa511b2150859ef5b1d76fff34fc9
tree60c413ef75af33de0d4ec824db7e15a4621501be
parentd55f31e29047f2f987286d55928ae75775111fe7
x86/mtrr: Use str_enabled_disabled() helper in print_mtrr_state()

Remove hard-coded strings by using the str_enabled_disabled() helper
function.

Suggested-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/all/20250117144900.171684-2-thorsten.blum%40linux.dev
arch/x86/kernel/cpu/mtrr/generic.c