sh: do not latency trace idle.
authorPaul Mundt <lethal@linux-sh.org>
Wed, 26 Nov 2008 06:22:50 +0000 (15:22 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 22 Dec 2008 09:43:49 +0000 (18:43 +0900)
commitf74c034d52d0f908d5b929423a680962a2586199
tree0448aa785f65a89882edd2e9e4fc697de8388e68
parent75fd24c1073adcd1e8ea43048d946bbfa34dfc64
sh: do not latency trace idle.

Description snipped from Steven Rostedt's PPC patch:

    When idle is called, interrupts are blocked, but the idle
    function will still wake up on an interrupt. The problem is
    that the interrupt disabled latency tracer will take this call
    to idle as a latency.

    This patch disables the latency tracing when going into idle.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/process_32.c