.. | .. |
---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
---|
1 | 2 | /* |
---|
2 | 3 | * (C) 2010,2011 Thomas Renninger <trenn@suse.de>, Novell Inc. |
---|
3 | | - * |
---|
4 | | - * Licensed under the terms of the GNU GPL License version 2. |
---|
5 | | - * |
---|
6 | 4 | */ |
---|
7 | 5 | |
---|
8 | 6 | #ifndef __CPUIDLE_INFO_HW__ |
---|
.. | .. |
---|
62 | 60 | struct cpuidle_monitor* (*do_register) (void); |
---|
63 | 61 | void (*unregister)(void); |
---|
64 | 62 | 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; |
---|
66 | 67 | }; |
---|
67 | 68 | |
---|
68 | 69 | extern long long timespec_diff_us(struct timespec start, struct timespec end); |
---|