diff options
| author | Yanmin Zhang <[email protected]> | 2012-01-10 15:48:21 -0800 | 
|---|---|---|
| committer | Len Brown <[email protected]> | 2012-01-17 14:19:58 -0500 | 
| commit | 63ff07beaebef2a82da41cf04053ae88b579226d (patch) | |
| tree | a7a7dfc0c1a2de4d2b45e6762226760f44bbc076 /include/linux/debugobjects.h | |
| parent | 39a74fdedd1c1461d6fb6d330b5266886513c98f (diff) | |
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.
[[email protected]: add comment]
Signed-off-by: Mingming Zhang <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Len Brown <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions