summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Morris <jmorris@intercode.com.au>2002-08-31 09:07:11 -0700
committerDavid S. Miller <davem@nuts.ninka.net>2002-08-31 09:07:11 -0700
commitf30565eb004f5e7623ee1e22a6c86fe2f407042d (patch)
treea7a8427b45f70e6c51fce37d088b541d35297015
parent37809ec726b46e8094b43b97be688390dd44dacc (diff)
net/ipv4/netfilter/ipfwadm_core.c: Fix build bustage when debugging is enabled.
-rw-r--r--net/ipv4/netfilter/ipfwadm_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/netfilter/ipfwadm_core.c b/net/ipv4/netfilter/ipfwadm_core.c
index 492e31cf4a5d..82ea93cfef69 100644
--- a/net/ipv4/netfilter/ipfwadm_core.c
+++ b/net/ipv4/netfilter/ipfwadm_core.c
@@ -156,7 +156,7 @@
#define dprint_ip(a)
#endif
-static rwlock_t ip_fw_lock = RW_LOCK_UNLOCKED;
+static DECLARE_RWLOCK(ip_fw_lock);
#if defined(CONFIG_IP_ACCT) || defined(CONFIG_IP_FIREWALL)