mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-20 18:56:48 +07:00
9de9aa45e9
Rename duplicate sysfs_read_file into cpupower_read_sysfs and fix linking. Signed-off-by: Konstantin Khlebnikov <khlebnikov@yandex-team.ru> Acked-by: Thomas Renninger <trenn@suse.de> Cc: <stable@vger.kernel.org> Signed-off-by: Shuah Khan (Samsung OSG) <shuah@kernel.org>
7 lines
218 B
C
7 lines
218 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#define PATH_TO_CPU "/sys/devices/system/cpu/"
|
|
#define MAX_LINE_LEN 4096
|
|
#define SYSFS_PATH_MAX 255
|
|
|
|
unsigned int cpupower_read_sysfs(const char *path, char *buf, size_t buflen);
|