[PATCH] remove unused irq_cpustat fields

From: Christoph Hellwig
Date: Sun Nov 14 2004 - 06:05:19 EST


The only common field in irq_cpustat is __softirq_pending, i386 and ppc
have some of their own.

Remove all unused obsolete fields from various architectures.


--- 1.10/include/asm-alpha/hardirq.h 2004-11-08 03:08:14 +01:00
+++ edited/include/asm-alpha/hardirq.h 2004-11-14 11:58:28 +01:00
@@ -9,9 +9,6 @@
/* entry.S is sensitive to the offsets of these fields */
typedef struct {
unsigned long __softirq_pending;
- unsigned int __syscall_count;
- unsigned long idle_timestamp;
- struct task_struct * __ksoftirqd_task;
} ____cacheline_aligned irq_cpustat_t;

#include <linux/irq_cpustat.h> /* Standard mappings for irq_cpustat_t above */
--- 1.4/include/asm-arm26/hardirq.h 2004-11-08 03:08:14 +01:00
+++ edited/include/asm-arm26/hardirq.h 2004-11-14 11:57:13 +01:00
@@ -7,10 +7,6 @@

typedef struct {
unsigned int __softirq_pending;
- unsigned int __local_irq_count;
- unsigned int __local_bh_count;
- unsigned int __syscall_count;
- struct task_struct * __ksoftirqd_task; /* waitqueue is too large */
} ____cacheline_aligned irq_cpustat_t;

#include <linux/irq_cpustat.h> /* Standard mappings for irq_cpustat_t above */
--- 1.5/include/asm-cris/hardirq.h 2004-11-08 03:08:14 +01:00
+++ edited/include/asm-cris/hardirq.h 2004-11-14 11:57:15 +01:00
@@ -9,10 +9,6 @@
/* entry.S is sensitive to the offsets of these fields */
typedef struct {
unsigned int __softirq_pending;
- unsigned int __local_irq_count;
- unsigned int __local_bh_count;
- unsigned int __syscall_count;
- struct task_struct * __ksoftirqd_task; /* waitqueue is too large */
} ____cacheline_aligned irq_cpustat_t;

#include <linux/irq_cpustat.h> /* Standard mappings for irq_cpustat_t above */
--- 1.6/include/asm-h8300/hardirq.h 2004-11-08 03:08:14 +01:00
+++ edited/include/asm-h8300/hardirq.h 2004-11-14 11:57:20 +01:00
@@ -9,8 +9,6 @@

typedef struct {
unsigned int __softirq_pending;
- unsigned int __syscall_count;
- struct task_struct * __ksoftirqd_task;
} ____cacheline_aligned irq_cpustat_t;

#include <linux/irq_cpustat.h> /* Standard mappings for irq_cpustat_t above */
--- 1.4/include/asm-m32r/hardirq.h 2004-11-08 03:08:14 +01:00
+++ edited/include/asm-m32r/hardirq.h 2004-11-14 11:57:25 +01:00
@@ -7,8 +7,6 @@

typedef struct {
unsigned int __softirq_pending;
- unsigned int __syscall_count;
- struct task_struct * __ksoftirqd_task; /* waitqueue is too large */
} ____cacheline_aligned irq_cpustat_t;

#include <linux/irq_cpustat.h> /* Standard mappings for irq_cpustat_t above */
--- 1.5/include/asm-m68knommu/hardirq.h 2004-11-08 03:08:14 +01:00
+++ edited/include/asm-m68knommu/hardirq.h 2004-11-14 11:57:29 +01:00
@@ -7,8 +7,6 @@

typedef struct {
unsigned int __softirq_pending;
- unsigned int __syscall_count;
- struct task_struct * __ksoftirqd_task;
} ____cacheline_aligned irq_cpustat_t;

#include <linux/irq_cpustat.h> /* Standard mappings for irq_cpustat_t above */
--- 1.5/include/asm-parisc/hardirq.h 2004-11-08 03:08:14 +01:00
+++ edited/include/asm-parisc/hardirq.h 2004-11-14 11:58:34 +01:00
@@ -21,9 +21,6 @@

typedef struct {
unsigned long __softirq_pending; /* set_bit is used on this */
- unsigned int __syscall_count;
- struct task_struct * __ksoftirqd_task;
- unsigned long idle_timestamp;
} ____cacheline_aligned irq_cpustat_t;

#include <linux/irq_cpustat.h> /* Standard mappings for irq_cpustat_t above */
--- 1.15/include/asm-ppc64/hardirq.h 2004-10-19 07:26:40 +02:00
+++ edited/include/asm-ppc64/hardirq.h 2004-11-14 11:55:29 +01:00
@@ -14,7 +14,6 @@

typedef struct {
unsigned int __softirq_pending;
- struct task_struct * __ksoftirqd_task;
} ____cacheline_aligned irq_cpustat_t;

#include <linux/irq_cpustat.h> /* Standard mappings for irq_cpustat_t above */
--- 1.6/include/asm-v850/hardirq.h 2004-11-08 03:08:14 +01:00
+++ edited/include/asm-v850/hardirq.h 2004-11-14 11:57:48 +01:00
@@ -7,8 +7,6 @@

typedef struct {
unsigned int __softirq_pending;
- unsigned int __syscall_count;
- struct task_struct * __ksoftirqd_task;
} ____cacheline_aligned irq_cpustat_t;

#include <linux/irq_cpustat.h> /* Standard mappings for irq_cpustat_t above */
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/