[go: up one dir, main page]

File: thermal.h

package info (click to toggle)
irqbalance 1.9.4-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 624 kB
  • sloc: ansic: 5,480; sh: 69; makefile: 47
file content (15 lines) | stat: -rw-r--r-- 336 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef __LINUX_THERMAL_H_
#define __LINUX_THERMAL_H_

#include <glib.h>

#ifdef HAVE_THERMAL
gboolean init_thermal(void);
void deinit_thermal(void);
extern cpumask_t thermal_banned_cpus;
#else
static inline gboolean init_thermal(void) { return FALSE; }
#define deinit_thermal() do { } while (0)
#endif

#endif /* __LINUX_THERMAL_H_ */