diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2000-04-28 01:09:25 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2000-04-28 01:09:25 +0000 |
commit | b9ba7aeb165cffecdffb60aec8c3fa8d590d9ca9 (patch) | |
tree | 42d07b0c7246ae2536a702e7c5de9e2732341116 /include/asm-arm/hardirq.h | |
parent | 7406b0a326f2d70ade2671c37d1beef62249db97 (diff) |
Merge with 2.3.99-pre6.
Diffstat (limited to 'include/asm-arm/hardirq.h')
-rw-r--r-- | include/asm-arm/hardirq.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/asm-arm/hardirq.h b/include/asm-arm/hardirq.h index 399ba566d..77a36a2a4 100644 --- a/include/asm-arm/hardirq.h +++ b/include/asm-arm/hardirq.h @@ -1,6 +1,7 @@ #ifndef __ASM_HARDIRQ_H #define __ASM_HARDIRQ_H +#include <linux/config.h> #include <linux/threads.h> extern unsigned int local_irq_count[NR_CPUS]; @@ -14,7 +15,7 @@ extern unsigned int local_irq_count[NR_CPUS]; #define in_irq() (local_irq_count[smp_processor_id()] != 0) -#ifndef __SMP__ +#ifndef CONFIG_SMP #define hardirq_trylock(cpu) (local_irq_count[cpu] == 0) #define hardirq_endlock(cpu) do { } while (0) @@ -26,6 +27,6 @@ extern unsigned int local_irq_count[NR_CPUS]; #else #error SMP not supported -#endif /* __SMP__ */ +#endif /* CONFIG_SMP */ #endif /* __ASM_HARDIRQ_H */ |