patch-2.3.99-pre7 linux/include/asm-sparc/irq.h
Next file: linux/include/asm-sparc/pgalloc.h
Previous file: linux/include/asm-sparc/hardirq.h
Back to the patch index
Back to the overall index
- Lines: 26
- Date:
Mon May 8 22:00:01 2000
- Orig file:
v2.3.99-pre6/linux/include/asm-sparc/irq.h
- Orig date:
Fri Jan 28 15:09:09 2000
diff -u --recursive --new-file v2.3.99-pre6/linux/include/asm-sparc/irq.h linux/include/asm-sparc/irq.h
@@ -7,6 +7,7 @@
#ifndef _SPARC_IRQ_H
#define _SPARC_IRQ_H
+#include <linux/config.h>
#include <linux/linkage.h>
#include <linux/threads.h> /* For NR_CPUS */
@@ -21,7 +22,7 @@
#define NR_IRQS 15
/* IRQ handler dispatch entry and exit. */
-#ifdef __SMP__
+#ifdef CONFIG_SMP
extern unsigned int local_irq_count[NR_CPUS];
#define irq_enter(cpu, irq) \
do { hardirq_enter(cpu); \
@@ -63,7 +64,7 @@
int irq,
unsigned int timeout);
-#ifdef __SMP__
+#ifdef CONFIG_SMP
BTFIXUPDEF_CALL(void, set_cpu_int, int, int)
BTFIXUPDEF_CALL(void, clear_cpu_int, int, int)
BTFIXUPDEF_CALL(void, set_irq_udt, int)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)