diff options
author | cognet <cognet@FreeBSD.org> | 2007-02-09 00:09:35 +0000 |
---|---|---|
committer | cognet <cognet@FreeBSD.org> | 2007-02-09 00:09:35 +0000 |
commit | 638a7ba075a9bf9dc1d7b58d526687f5d9b39c19 (patch) | |
tree | 317041ba10e330eb2896cfc8b332e30626928f29 /sys/net/if_loop.c | |
parent | ecb2edb6fadd01c991a33952528592df43770714 (diff) | |
download | FreeBSD-src-638a7ba075a9bf9dc1d7b58d526687f5d9b39c19.zip FreeBSD-src-638a7ba075a9bf9dc1d7b58d526687f5d9b39c19.tar.gz |
Use __NO_STRICT_ALIGNMENT, instead of special casing ia64 and sparc64.
This fixes panics I got on arm, with struct ip aligned on 4 bytes.
MFC After: 1 week
Diffstat (limited to 'sys/net/if_loop.c')
-rw-r--r-- | sys/net/if_loop.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net/if_loop.c b/sys/net/if_loop.c index fbbf27d..a1bfc7b 100644 --- a/sys/net/if_loop.c +++ b/sys/net/if_loop.c @@ -290,7 +290,7 @@ if_simloop(ifp, m, af, hlen) /* Strip away media header */ if (hlen > 0) { m_adj(m, hlen); -#if defined(__ia64__) || defined(__sparc64__) +#ifndef __NO_STRICT_ALIGNMENT /* * Some archs do not like unaligned data, so * we move data down in the first mbuf. |