patch-2.4.22 linux-2.4.22/include/asm-ppc/hardirq.h
Next file: linux-2.4.22/include/asm-ppc/highmem.h
Previous file: linux-2.4.22/include/asm-ppc/commproc.h
Back to the patch index
Back to the overall index
- Lines: 22
- Date:
2003-08-25 04:44:44.000000000 -0700
- Orig file:
linux-2.4.21/include/asm-ppc/hardirq.h
- Orig date:
2003-06-13 07:51:38.000000000 -0700
diff -urN linux-2.4.21/include/asm-ppc/hardirq.h linux-2.4.22/include/asm-ppc/hardirq.h
@@ -6,9 +6,9 @@
#include <asm/smp.h>
/* entry.S is sensitive to the offsets of these fields */
-/* The __last_jiffy_stamp field is needed to ensure that no decrementer
- * interrupt is lost on SMP machines. Since on most CPUs it is in the same
- * cache line as local_irq_count, it is cheap to access and is also used on UP
+/* The __last_jiffy_stamp field is needed to ensure that no decrementer
+ * interrupt is lost on SMP machines. Since on most CPUs it is in the same
+ * cache line as local_irq_count, it is cheap to access and is also used on UP
* for uniformity.
*/
typedef struct {
@@ -66,7 +66,7 @@
static inline void hardirq_enter(int cpu)
{
unsigned int loops = 10000000;
-
+
++local_irq_count(cpu);
atomic_inc(&global_irq_count);
while (test_bit(0,&global_irq_lock)) {
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)