Skip to contentSkip to conversation

cpumask: remove unused mask field from struct irqaction.

PATCH New Rusty Russell 1 participant 1 message Jun 12, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 10/17 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.

---
 include/linux/interrupt.h |    1 -
 1 file changed, 1 deletion(-)
include/linux/interrupt.h +0 -1
@@ -64,7 +64,6 @@ struct irqaction {
 struct irqaction {
 	irq_handler_t handler;
 	unsigned long flags;
-	cpumask_t mask;
 	const char *name;
 	void *dev_id;
 	struct irqaction *next;