]> Git Repo - J-linux.git/commit
cpufreq: amd-pstate-ut: Remove module parameter access
authorSwapnil Sapkal <[email protected]>
Fri, 18 Aug 2023 11:44:51 +0000 (11:44 +0000)
committerRafael J. Wysocki <[email protected]>
Tue, 22 Aug 2023 20:22:15 +0000 (22:22 +0200)
commit8d6e5e8268e89979d86501dbb8385ce2e6154de1
tree535be25465bb5de05a9d19b76249b6e49649bf63
parenta436ae9434ec491eefb4ed4c77bdb9c762925976
cpufreq: amd-pstate-ut: Remove module parameter access

In amd-pstate-ut, shared memory-based systems call
get_shared_mem() as part of amd_pstate_ut_check_enabled()
function. This function was written when CONFIG_X86_AMD_PSTATE
was tristate config and amd_pstate can be built as a module.

Currently CONFIG_X86_AMD_PSTATE is a boolean config and module
parameter shared_mem is removed. But amd-pstate-ut code still
accesses this module parameter. Remove those accesses.

Fixes: 456ca88d8a52 ("cpufreq: amd-pstate: change amd-pstate driver to be built-in type")
Reviewed-by: Mario Limonciello <[email protected]>
Reviewed-by: Meng Li <[email protected]>
Reviewed-by: Wyes Karny <[email protected]>
Suggested-by: Wyes Karny <[email protected]>
Signed-off-by: Swapnil Sapkal <[email protected]>
[ rjw: Subject edits ]
Signed-off-by: Rafael J. Wysocki <[email protected]>
drivers/cpufreq/amd-pstate-ut.c
This page took 0.046129 seconds and 4 git commands to generate.