[PATCH] RT: Remove HARDIRQ_BITS dependency

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Signed-off-by: Daniel Walker <[email protected]>

Index: linux-2.6.13/include/linux/hardirq.h
===================================================================
--- linux-2.6.13.orig/include/linux/hardirq.h
+++ 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


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux