[PATCH] RT: Remove HARDIRQ_BITS dependency

From: Daniel Walker
Date: Wed Sep 21 2005 - 18:39:34 EST



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

Signed-off-by: Daniel Walker <dwalker@xxxxxxxxxx>

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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/