All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mike-Ro-Chanel <mikerochanel@yahoo.it>
To: netfilter-devel@lists.netfilter.org
Subject: A beginner spinlock question
Date: Fri, 29 Aug 2003 10:52:00 +0200	[thread overview]
Message-ID: <3F4F1430.7050604@yahoo.it> (raw)

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.

                 reply	other threads:[~2003-08-29  8:52 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3F4F1430.7050604@yahoo.it \
    --to=mikerochanel@yahoo.it \
    --cc=netfilter-devel@lists.netfilter.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.