From: Yanmin Zhang Date: Tue, 10 Jan 2012 23:48:21 +0000 (-0800) Subject: intel_idle: remove redundant local_irq_disable() call X-Git-Tag: v3.3-rc1~8^2^3~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=63ff07beaebef2a82da41cf04053ae88b579226d;p=pandora-kernel.git 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 Signed-off-by: Andrew Morton Signed-off-by: Len Brown --- Reading git-diff-tree failed