aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2021-09-28 16:16:06 +0200
committerHans de Goede <hdegoede@redhat.com>2021-09-28 16:22:53 +0200
commit40635cd32f0d83573a558dc30e9ba3469e769249 (patch)
tree04939baf5ce155b5118c2159ec4ecfda30c6b8df /tools/perf/scripts/python
parentplatform/x86: dell-wmi: Recognise or support new switches (diff)
downloadlinux-40635cd32f0d83573a558dc30e9ba3469e769249.tar.gz
linux-40635cd32f0d83573a558dc30e9ba3469e769249.zip
platform/x86: amd-pmc: Fix compilation when CONFIG_DEBUGFS is disabled
The amd_pmc_get_smu_version() and amd_pmc_idlemask_read() functions are used in the probe / suspend/resume code, so they are also used when CONFIG_DEBUGFS is disabled, move them outside of the #ifdef CONFIG_DEBUGFS block. Note this purely moves the code to above the #ifdef CONFIG_DEBUGFS, the code is completely unchanged. Fixes: f6045de1f532 ("platform/x86: amd-pmc: Export Idlemask values based on the APU") Cc: Shyam Sundar S K <Shyam-sundar.S-k@amd.com> Cc: Sanket Goswami <Sanket.Goswami@amd.com> Reported-by: Nathan Chancellor <nathan@kernel.org> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions