summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAkira Takeuchi <takeuchi.akr@jp.panasonic.com>2010-10-27 17:28:54 +0100
committerDavid Howells <dhowells@redhat.com>2010-10-27 17:28:54 +0100
commit04157a6e7df99fd5ed64955233d6e00ab6613614 (patch)
tree0f0591515860b41983561ec97e4a0374bdbbf3a2
parent37e4ec96365a4b1179b994861e824e3c2fce32a1 (diff)
downloadop-kernel-dev-04157a6e7df99fd5ed64955233d6e00ab6613614.zip
op-kernel-dev-04157a6e7df99fd5ed64955233d6e00ab6613614.tar.gz
MN10300: Delete idle_timestamp from irq_cpustat_t
Delete idle_timestamp from irq_cpustat_t as it's an unread relic. Signed-off-by: Akira Takeuchi <takeuchi.akr@jp.panasonic.com> Signed-off-by: Kiyoshi Owada <owada.kiyoshi@jp.panasonic.com> Signed-off-by: David Howells <dhowells@redhat.com>
-rw-r--r--arch/mn10300/include/asm/hardirq.h1
-rw-r--r--arch/mn10300/kernel/process.c2
2 files changed, 0 insertions, 3 deletions
diff --git a/arch/mn10300/include/asm/hardirq.h b/arch/mn10300/include/asm/hardirq.h
index 54d9501..7bd9b7c 100644
--- a/arch/mn10300/include/asm/hardirq.h
+++ b/arch/mn10300/include/asm/hardirq.h
@@ -19,7 +19,6 @@
/* assembly code in softirq.h is sensitive to the offsets of these fields */
typedef struct {
unsigned int __softirq_pending;
- unsigned long idle_timestamp;
unsigned int __nmi_count; /* arch dependent */
unsigned int __irq_count; /* arch dependent */
} ____cacheline_aligned irq_cpustat_t;
diff --git a/arch/mn10300/kernel/process.c b/arch/mn10300/kernel/process.c
index f48373e..243e33c 100644
--- a/arch/mn10300/kernel/process.c
+++ b/arch/mn10300/kernel/process.c
@@ -88,8 +88,6 @@ void cpu_idle(void)
idle = pm_idle;
if (!idle)
idle = default_idle;
-
- irq_stat[cpu].idle_timestamp = jiffies;
idle();
}
OpenPOWER on IntegriCloud