Переглянути джерело

cpumask: remove unused mask field from struct irqaction.

Up until 1.1.83, the primitive human tribes used struct sigaction for
interrupts.  The sa_mask field was overloaded to hold a pointer to the
name.

When someone created the new "struct irqaction" they carried across
the "mask" field as a kind of ancestor worship: the fact that it was
unused makes clear its spiritual significance.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Rusty Russell 15 роки тому
батько
коміт
ef79f8e191
1 змінених файлів з 0 додано та 1 видалено
  1. 0 1
      include/linux/interrupt.h

+ 0 - 1
include/linux/interrupt.h

@@ -97,7 +97,6 @@ typedef irqreturn_t (*irq_handler_t)(int, void *);
 struct irqaction {
 struct irqaction {
 	irq_handler_t handler;
 	irq_handler_t handler;
 	unsigned long flags;
 	unsigned long flags;
-	cpumask_t mask;
 	const char *name;
 	const char *name;
 	void *dev_id;
 	void *dev_id;
 	struct irqaction *next;
 	struct irqaction *next;