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
This commit is contained in:
Olivier Houchard 2007-02-09 00:09:35 +00:00
parent f2bf119ead
commit f6966ecd8e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=166577

View File

@ -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.