diff options
| author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-02-18 16:34:11 -0500 |
|---|---|---|
| committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-02-18 16:34:11 -0500 |
| commit | 10baf04e95fbf7eb6089410220a547211dd2ffa7 (patch) | |
| tree | 912204612987a3ce2ec0ed214d47911040d79cc1 /include/linux | |
| parent | fdbe0946d4c35d4cc784cfe0a5322708cfb7ade8 (diff) | |
| parent | ca62cf59ceef10ff2ebca0e7f764507186870270 (diff) | |
Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux
* 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux: (35 commits)
PM idle: remove global declaration of pm_idle
unicore32 idle: delete stray pm_idle comment
openrisc idle: delete pm_idle
mn10300 idle: delete pm_idle
microblaze idle: delete pm_idle
m32r idle: delete pm_idle, and other dead idle code
ia64 idle: delete pm_idle
cris idle: delete idle and pm_idle
ARM64 idle: delete pm_idle
ARM idle: delete pm_idle
blackfin idle: delete pm_idle
sparc idle: rename pm_idle to sparc_idle
sh idle: rename global pm_idle to static sh_idle
x86 idle: rename global pm_idle to static x86_idle
APM idle: register apm_cpu_idle via cpuidle
tools/power turbostat: display SMI count by default
intel_idle: export both C1 and C1E
cpuidle: remove vestage definition of cpuidle_state_usage.driver_data
x86 idle: remove 32-bit-only "no-hlt" parameter, hlt_works_ok flag
x86 idle: remove mwait_idle() and "idle=mwait" cmdline param
...
Conflicts:
arch/x86/kernel/process.c (with PM / tracing commit 43720bd)
drivers/acpi/processor_idle.c (with ACPICA commit 4f84291)
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/cpuidle.h | 22 | ||||
| -rw-r--r-- | include/linux/pm.h | 1 |
2 files changed, 0 insertions, 23 deletions
diff --git a/include/linux/cpuidle.h b/include/linux/cpuidle.h index 24cd1037b6d6..480c14dc1ddd 100644 --- a/include/linux/cpuidle.h +++ b/include/linux/cpuidle.h | |||
| @@ -32,8 +32,6 @@ struct cpuidle_driver; | |||
| 32 | ****************************/ | 32 | ****************************/ |
| 33 | 33 | ||
| 34 | struct cpuidle_state_usage { | 34 | struct cpuidle_state_usage { |
| 35 | void *driver_data; | ||
| 36 | |||
| 37 | unsigned long long disable; | 35 | unsigned long long disable; |
| 38 | unsigned long long usage; | 36 | unsigned long long usage; |
| 39 | unsigned long long time; /* in US */ | 37 | unsigned long long time; /* in US */ |
| @@ -62,26 +60,6 @@ struct cpuidle_state { | |||
| 62 | 60 | ||
| 63 | #define CPUIDLE_DRIVER_FLAGS_MASK (0xFFFF0000) | 61 | #define CPUIDLE_DRIVER_FLAGS_MASK (0xFFFF0000) |
| 64 | 62 | ||
| 65 | /** | ||
| 66 | * cpuidle_get_statedata - retrieves private driver state data | ||
| 67 | * @st_usage: the state usage statistics | ||
| 68 | */ | ||
| 69 | static inline void *cpuidle_get_statedata(struct cpuidle_state_usage *st_usage) | ||
| 70 | { | ||
| 71 | return st_usage->driver_data; | ||
| 72 | } | ||
| 73 | |||
| 74 | /** | ||
| 75 | * cpuidle_set_statedata - stores private driver state data | ||
| 76 | * @st_usage: the state usage statistics | ||
| 77 | * @data: the private data | ||
| 78 | */ | ||
| 79 | static inline void | ||
| 80 | cpuidle_set_statedata(struct cpuidle_state_usage *st_usage, void *data) | ||
| 81 | { | ||
| 82 | st_usage->driver_data = data; | ||
| 83 | } | ||
| 84 | |||
| 85 | struct cpuidle_device { | 63 | struct cpuidle_device { |
| 86 | unsigned int registered:1; | 64 | unsigned int registered:1; |
| 87 | unsigned int enabled:1; | 65 | unsigned int enabled:1; |
diff --git a/include/linux/pm.h b/include/linux/pm.h index 03d7bb145311..97bcf23e045a 100644 --- a/include/linux/pm.h +++ b/include/linux/pm.h | |||
| @@ -31,7 +31,6 @@ | |||
| 31 | /* | 31 | /* |
| 32 | * Callbacks for platform drivers to implement. | 32 | * Callbacks for platform drivers to implement. |
| 33 | */ | 33 | */ |
| 34 | extern void (*pm_idle)(void); | ||
| 35 | extern void (*pm_power_off)(void); | 34 | extern void (*pm_power_off)(void); |
| 36 | extern void (*pm_power_off_prepare)(void); | 35 | extern void (*pm_power_off_prepare)(void); |
| 37 | 36 | ||
