* A beginner spinlock question
@ 2003-08-29 8:52 Mike-Ro-Chanel
0 siblings, 0 replies; only message in thread
From: Mike-Ro-Chanel @ 2003-08-29 8:52 UTC (permalink / raw)
To: netfilter-devel
Hi All,
I'm writing my first "match" module for iptables.
I use spin_lock_bh()/spin_unlock_bh() functions for mutex between BHs.
My problem:
- I include <linux/spin_lock.h> for mutex functions declaration
- On Red Hat 9.0 with its 2.4.20-8 (redhat) kernel the compilation
procedure goes all right.
- If I compile my module with 2.4.21 original (Linus) kernel I get this
messages:
warning: implicit declaration of function `local_bh_disable'
warning: implicit declaration of function `local_bh_enable'
Anybody can help Me?
Regards.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-08-29 8:52 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-08-29 8:52 A beginner spinlock question Mike-Ro-Chanel
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.