diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2008-02-06 16:39:44 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-02-06 16:39:44 -0500 |
commit | b5556a67f08559b6c1597f6396c1f9ef460f62b4 (patch) | |
tree | eb9f5024599a04adf6ecd3998faf658d879186aa /include/linux | |
parent | d7ac12fa05ed839d5a426795409fdf1a480e3f7a (diff) |
cpuidle: dubious one-bit signed bitfield in cpuidle.h
fix these sparse warnings:
CHECK arch/x86/kernel/acpi/cstate.c
include/linux/cpuidle.h:82:17: error: dubious one-bit signed bitfield
CHECK arch/x86/kernel/acpi/processor.c
include/linux/cpuidle.h:82:17: error: dubious one-bit signed bitfield
CHECK arch/x86/kernel/cpu/cpufreq/powernow-k7.c
include/linux/cpuidle.h:82:17: error: dubious one-bit signed bitfield
CHECK arch/x86/kernel/cpu/cpufreq/powernow-k8.c
include/linux/cpuidle.h:82:17: error: dubious one-bit signed bitfield
CHECK arch/x86/kernel/cpu/cpufreq/longhaul.c
include/linux/cpuidle.h:82:17: error: dubious one-bit signed bitfield
CHECK arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c
include/linux/cpuidle.h:82:17: error: dubious one-bit signed bitfield
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/cpuidle.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/cpuidle.h b/include/linux/cpuidle.h index c4e00161a247..b0fd85ab9efb 100644 --- a/include/linux/cpuidle.h +++ b/include/linux/cpuidle.h | |||
@@ -79,7 +79,7 @@ struct cpuidle_state_kobj { | |||
79 | }; | 79 | }; |
80 | 80 | ||
81 | struct cpuidle_device { | 81 | struct cpuidle_device { |
82 | int enabled:1; | 82 | unsigned int enabled:1; |
83 | unsigned int cpu; | 83 | unsigned int cpu; |
84 | 84 | ||
85 | int last_residency; | 85 | int last_residency; |