Skip to contentSkip to conversation

RT: Remove HARDIRQ_BITS dependency

PATCH In review Daniel Walker 2 participants 2 messages Sep 21, 2005 – Sep 26, 2005

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 RT: Remove HARDIRQ_BITS dependency

Moves HARDIRQ_BITS so it's doesn't block anything else
from getting defined.

include/linux/hardirq.h +2 -2
Index: linux-2.6.13/include/linux/hardirq.h
===================================================================
@@ -28,10 +28,10 @@
  */
 #define PREEMPT_BITS		8
 #define SOFTIRQ_BITS		8
-#ifndef HARDIRQ_BITS
-#define HARDIRQ_BITS		12
 #define PREEMPT_ACTIVE_BITS	1
 #define IRQSOFF_BITS		1
+#ifndef HARDIRQ_BITS
+#define HARDIRQ_BITS		12
 
 /*
  * The hardirq mask has to be large enough to have space for potentially
#1 lore raw
Quoted 2 lines · Daniel Walker

Moves HARDIRQ_BITS so it's doesn't block anything else
from getting defined.

applied - with the delta that i moved it after the HARDIRQ_BITS definition, and i also got rid of the IRQSOFF bits.

Ingo