Add ia64 to the list of machines which don't do unaligned reads.
This commit is contained in:
parent
f1c1087a06
commit
23620bde07
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=84558
@ -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
|
||||
|
||||
|
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user