summaryrefslogtreecommitdiffstats
path: root/sys/net
diff options
context:
space:
mode:
authorglebius <glebius@FreeBSD.org>2013-04-10 08:09:25 +0000
committerglebius <glebius@FreeBSD.org>2013-04-10 08:09:25 +0000
commite79bb9704b0801e384d3cf9953bd20277e72961d (patch)
tree03be90cf56f9e13349ce469a3d6d5f9350f16194 /sys/net
parenta3459995feca5bdd2a4a29458cfc1fe6c143225e (diff)
downloadFreeBSD-src-e79bb9704b0801e384d3cf9953bd20277e72961d.zip
FreeBSD-src-e79bb9704b0801e384d3cf9953bd20277e72961d.tar.gz
Fix build.
Diffstat (limited to 'sys/net')
-rw-r--r--sys/net/if_llatbl.h2
-rw-r--r--sys/net/if_var.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/if_llatbl.h b/sys/net/if_llatbl.h
index 693ccd5..e09145c 100644
--- a/sys/net/if_llatbl.h
+++ b/sys/net/if_llatbl.h
@@ -43,7 +43,7 @@ struct rt_addrinfo;
struct llentry;
LIST_HEAD(llentries, llentry);
-extern struct rwlock lltable_rwlock;
+extern struct rwlock_padalign lltable_rwlock;
#define LLTABLE_RLOCK() rw_rlock(&lltable_rwlock)
#define LLTABLE_RUNLOCK() rw_runlock(&lltable_rwlock)
#define LLTABLE_WLOCK() rw_wlock(&lltable_rwlock)
diff --git a/sys/net/if_var.h b/sys/net/if_var.h
index d60d0de..6b3a468 100644
--- a/sys/net/if_var.h
+++ b/sys/net/if_var.h
@@ -832,7 +832,7 @@ struct ifmultiaddr {
#ifdef _KERNEL
-extern struct rwlock ifnet_rwlock;
+extern struct rwlock_padalign ifnet_rwlock;
extern struct sx ifnet_sxlock;
#define IFNET_LOCK_INIT() do { \
OpenPOWER on IntegriCloud