Add ia64 to the list of machines which don't do unaligned reads.

This commit is contained in:
Doug Rabson 2001-10-05 19:04:23 +00:00
parent f1c1087a06
commit 23620bde07
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=84558
2 changed files with 2 additions and 2 deletions

View File

@ -46,7 +46,7 @@
#include <netinet/in.h>
#endif
#if defined(sparc) || defined(mips) || defined(ibm032) || defined(__alpha__)
#if defined(sparc) || defined(mips) || defined(ibm032) || defined(__alpha__) || defined(__ia64__)
#define BPF_ALIGN
#endif

View File

@ -322,7 +322,7 @@ if_simloop(ifp, m, af, hlen)
/* Strip away media header */
if (hlen > 0) {
m_adj(m, hlen);
#ifdef __alpha__
#if defined(__alpha__) || defined(__ia64__)
/* The alpha doesn't like unaligned data.
* We move data down in the first mbuf */
if (mtod(m, vm_offset_t) & 3) {