Skip to contentSkip to conversation

kernel/softirq.c: EXPORT_UNUSED_SYMBOL

PATCH In review Adrian Bunk 2 participants 2 messages Jun 30, 2006

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 kernel/softirq.c: EXPORT_UNUSED_SYMBOL

This patch marks an unused export as EXPORT_UNUSED_SYMBOL.

kernel/softirq.c renamed from kernel/softirq.c.old +1 -1
@@ -311,7 +311,7 @@
 	softirq_vec[nr].action = action;
 }
 
-EXPORT_SYMBOL(open_softirq);
+EXPORT_UNUSED_SYMBOL(open_softirq);  /*  June 2006  */
 
 /* Tasklets */
 struct tasklet_head
#1 lore raw

kernel/softirq.c line 314

Quoted 12 lines · Adrian Bunk

This patch marks an unused export as EXPORT_UNUSED_SYMBOL.

kernel/softirq.c renamed from kernel/softirq.c.old +1 -1
@@ -311,7 +311,7 @@
 	softirq_vec[nr].action = action;
 }
 
-EXPORT_SYMBOL(open_softirq);
+EXPORT_UNUSED_SYMBOL(open_softirq);  /*  June 2006  */

This should just go away ASAP. softirq numbers are allocated statically so no one can actually use it without patching the kernel.