summaryrefslogtreecommitdiffstats
path: root/sys/net/vnet.h
diff options
context:
space:
mode:
authordim <dim@FreeBSD.org>2010-11-12 22:59:50 +0000
committerdim <dim@FreeBSD.org>2010-11-12 22:59:50 +0000
commit7b0aabca30b272cae8800569e8681db7f9b58c0d (patch)
tree1bfb939dafce3e297b096d326714072950e80f46 /sys/net/vnet.h
parentec44bb58274729eaf925d41c5ae566141a2c3eac (diff)
downloadFreeBSD-src-7b0aabca30b272cae8800569e8681db7f9b58c0d.zip
FreeBSD-src-7b0aabca30b272cae8800569e8681db7f9b58c0d.tar.gz
Similar to r212647, remove the workaround in sys/net/vnet.h for an ld
bug (incorrect placement of __start_SECNAME in some cases) that was fixed in r210245. There is already an UPDATING entry about needing a recent ld. MFC after: 1 month
Diffstat (limited to 'sys/net/vnet.h')
-rw-r--r--sys/net/vnet.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/sys/net/vnet.h b/sys/net/vnet.h
index 1c8d1fe..76123c7 100644
--- a/sys/net/vnet.h
+++ b/sys/net/vnet.h
@@ -193,15 +193,6 @@ extern struct sx vnet_sxlock;
* Virtual network stack memory allocator, which allows global variables to
* be automatically instantiated for each network stack instance.
*/
-__asm__(
-#if defined(__arm__)
- ".section " VNET_SETNAME ", \"aw\", %progbits\n"
-#else
- ".section " VNET_SETNAME ", \"aw\", @progbits\n"
-#endif
- "\t.p2align " __XSTRING(CACHE_LINE_SHIFT) "\n"
- "\t.previous");
-
#define VNET_NAME(n) vnet_entry_##n
#define VNET_DECLARE(t, n) extern t VNET_NAME(n)
#define VNET_DEFINE(t, n) t VNET_NAME(n) __section(VNET_SETNAME) __used
OpenPOWER on IntegriCloud