Skip to content

Commit

Permalink
MN10300: Delete idle_timestamp from irq_cpustat_t
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Akira Takeuchi authored and David Howells committed Oct 27, 2010
1 parent 37e4ec9 commit 04157a6
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion arch/mn10300/include/asm/hardirq.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 0 additions & 2 deletions arch/mn10300/kernel/process.c
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,6 @@ void cpu_idle(void)
idle = pm_idle;
if (!idle)
idle = default_idle;

irq_stat[cpu].idle_timestamp = jiffies;
idle();
}

Expand Down

0 comments on commit 04157a6

Please sign in to comment.