* hardirq.h should include smp_lock.h when preempt enabled
@ 2003-08-08 3:04 Ian Wienand
0 siblings, 0 replies; only message in thread
From: Ian Wienand @ 2003-08-08 3:04 UTC (permalink / raw)
To: linux-ia64
[-- Attachment #1: Type: text/plain, Size: 116 bytes --]
As in_atomic() uses kernel_locked() which is in smp_lock.h
-i
ianw@gelato.unsw.edu.au
http://www.gelato.unsw.edu.au
[-- Attachment #2: hardirq.h.patch --]
[-- Type: text/plain, Size: 407 bytes --]
===== hardirq.h 1.13 vs edited =====
--- 1.13/include/asm-ia64/hardirq.h Thu Jun 12 12:53:38 2003
+++ edited/hardirq.h Fri Aug 8 13:00:23 2003
@@ -89,6 +89,7 @@
#define irq_enter() (preempt_count() += HARDIRQ_OFFSET)
#ifdef CONFIG_PREEMPT
+# include <linux/smp_lock.h>
# define in_atomic() ((preempt_count() & ~PREEMPT_ACTIVE) != kernel_locked())
# define IRQ_EXIT_OFFSET (HARDIRQ_OFFSET-1)
#else
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-08-08 3:04 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-08-08 3:04 hardirq.h should include smp_lock.h when preempt enabled Ian Wienand
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox