hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/tools/power/cpupower/utils/idle_monitor/cpupower-monitor.h
....@@ -1,8 +1,6 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * (C) 2010,2011 Thomas Renninger <trenn@suse.de>, Novell Inc.
3
- *
4
- * Licensed under the terms of the GNU GPL License version 2.
5
- *
64 */
75
86 #ifndef __CPUIDLE_INFO_HW__
....@@ -62,7 +60,10 @@
6260 struct cpuidle_monitor* (*do_register) (void);
6361 void (*unregister)(void);
6462 unsigned int overflow_s;
65
- int needs_root;
63
+ struct {
64
+ unsigned int needs_root:1;
65
+ unsigned int per_cpu_schedule:1;
66
+ } flags;
6667 };
6768
6869 extern long long timespec_diff_us(struct timespec start, struct timespec end);