diff options
author | Yanmin Zhang <yanmin_zhang@linux.intel.com> | 2012-01-10 15:48:21 -0800 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2012-01-17 14:19:58 -0500 |
commit | 63ff07beaebef2a82da41cf04053ae88b579226d (patch) | |
tree | a7a7dfc0c1a2de4d2b45e6762226760f44bbc076 /Documentation | |
parent | 39a74fdedd1c1461d6fb6d330b5266886513c98f (diff) | |
download | linux-63ff07beaebef2a82da41cf04053ae88b579226d.tar.bz2 |
intel_idle: remove redundant local_irq_disable() call
irq disabling happens earlier in process_32.c:cpu_idle. Basically,
cpuidle_state->enter is called, cpu irq is disabled. cpuidle_state->enter
would turn on irq when exiting.
intel_idle doesn't follow this assumption. Although it doesn't cause real
issue, it misleads developers. Remove the call to local_irq_disable() at
entry.
[akpm@linux-foundation.org: add comment]
Signed-off-by: Mingming Zhang <mingmingx.zhang@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions