patch-2.4.2 linux/arch/s390/kernel/irq.c
Next file: linux/arch/s390/kernel/mathemu.c
Previous file: linux/arch/s390/kernel/head.S
Back to the patch index
Back to the overall index
- Lines: 41
- Date:
Tue Feb 13 14:13:43 2001
- Orig file:
v2.4.1/linux/arch/s390/kernel/irq.c
- Orig date:
Fri Aug 4 16:15:37 2000
diff -u --recursive --new-file v2.4.1/linux/arch/s390/kernel/irq.c linux/arch/s390/kernel/irq.c
@@ -20,11 +20,11 @@
#include <linux/ioport.h>
#include <linux/interrupt.h>
#include <linux/timex.h>
-#include <linux/malloc.h>
+#include <linux/slab.h>
#include <linux/string.h>
#include <linux/random.h>
#include <linux/smp.h>
-#include <linux/tasks.h>
+#include <linux/threads.h>
#include <linux/smp_lock.h>
#include <linux/init.h>
@@ -205,6 +205,8 @@
if (!local_bh_count(cpu)
&& atomic_read(&global_bh_count))
continue;
+ /* this works even though global_irq_lock not
+ a long, but is arch-specific --RR */
if (!test_and_set_bit(0,&global_irq_lock))
break;
}
@@ -243,6 +245,8 @@
static inline void get_irqlock(int cpu)
{
+ /* this works even though global_irq_lock not a long, but is
+ arch-specific --RR */
if (test_and_set_bit(0,&global_irq_lock)) {
/* do we already hold the lock? */
if ( cpu == atomic_read(&global_irq_holder))
@@ -398,7 +402,7 @@
void __init init_IRQ(void)
{
- s390_init_IRQ();
+ s390_init_IRQ();
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)