* [PATCH] remove unused irq_cpustat fields
@ 2004-11-14 11:00 Christoph Hellwig
0 siblings, 0 replies; only message in thread
From: Christoph Hellwig @ 2004-11-14 11:00 UTC (permalink / raw)
To: akpm; +Cc: linux-kernel
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 */
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-11-14 11:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-11-14 11:00 [PATCH] remove unused irq_cpustat fields Christoph Hellwig
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome