summaryrefslogtreecommitdiff
path: root/cpusched.h
blob: 3af82810c07ab593f581c6576b5c987794a293da (plain)
1
2
3
4
5
6
7
8
9
10
#ifndef CPUSCHED_H
#define CPUSCHED_H

extern void init_cpusched(unsigned int cpus);
extern unsigned int socket_to_cpu(int fd);
extern unsigned int register_socket(int fd);
extern void unregister_socket(int fd);
extern void destroy_cpusched(void);

#endif /* CPUSCHED_H */
ption value='1'>ssdiff
authorLinus Torvalds <torvalds@linux-foundation.org>2016-08-14 19:01:31 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2016-08-14 19:01:31 -0700
commit0043ee40f98d15a50721fbd5dbf7c7797f8d03cd (patch)
treef16eff37444228ab626ae83b31c37c9c81becc73
parent4ef870e373382f18de214f61e5d5eb83b62b7aa5 (diff)
parent1577ddfac75ff9690ebd0d210bc7f1345c9d29ef (diff)
Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/rzhang/linux
Pull thermal updates from Zhang Rui: - Fix a race condition when updating cooling device, which may lead to a situation where a thermal governor never updates the cooling device. From Michele Di Giorgio. - Fix a zero division error when disabling the forced idle injection from the intel powerclamp. From Petr Mladek. - Add suspend/resume callback for intel_pch_thermal thermal driver. From Srinivas Pandruvada. - Another two fixes for clocking cooling driver and hwmon sysfs I/F. From Michele Di Giorgio and Kuninori Morimoto. [ Hmm. That suspend/resume callback for intel_pch_thermal doesn't look like a fix, but I'm letting it slide.. - Linus ] * 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/rzhang/linux: thermal: clock_cooling: Fix missing mutex_init() thermal: hwmon: EXPORT_SYMBOL_GPL for thermal hwmon sysfs thermal: fix race condition when updating cooling device thermal/powerclamp: Prevent division by zero when counting interval thermal: intel_pch_thermal: Add suspend/resume callback
Diffstat