mirror of
https://github.com/torvalds/linux.git
synced 2024-12-29 06:12:08 +00:00
06b230e3dd
libpci 3.3.0 introduced an additional member in the pci_filter struct which needs to be initialized to -1 to get the same behavior as before the API change. The libpci internal helpers got updated accordingly, but as the cpupower pci helpers initialized the struct themselves the behavior changed. Use the libpci helper pci_filter_init() to fix this and guard against similar breakages in the future. This fixes probing of the AMD fam12h/14h cpuidle monitor on systems with libpci >= 3.3.0. Signed-off-by: Lucas Stach <dev@lynxeye.de> Acked-by: Thomas Renninger <trenn@suse.de> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> |
||
---|---|---|
.. | ||
helpers | ||
idle_monitor | ||
builtin.h | ||
cpufreq-info.c | ||
cpufreq-set.c | ||
cpuidle-info.c | ||
cpuidle-set.c | ||
cpupower-info.c | ||
cpupower-set.c | ||
cpupower.c | ||
version-gen.sh |