aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorRick Macklem <rmacklem@FreeBSD.org>2010-04-07 15:19:52 +0000
committerRick Macklem <rmacklem@FreeBSD.org>2010-04-07 15:19:52 +0000
commit0bbe1d9baa5b87b5df3aad9de1890b772be256a5 (patch)
treedf3207a890ef427aa05d61240d2ee85eb21c6e59 /sys
parent0a6281552473152f11f47df8de6cdb33c1b3b834 (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/fs/nfs/nfs_commonport.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/fs/nfs/nfs_commonport.c b/sys/fs/nfs/nfs_commonport.c
index bf982aa0c0e1..c9ae4a820a17 100644
--- a/sys/fs/nfs/nfs_commonport.c
+++ b/sys/fs/nfs/nfs_commonport.c
@@ -117,7 +117,7 @@ struct mtx nfs_slock_mutex;
/* local functions */
static int nfssvc_call(struct thread *, struct nfssvc_args *, struct ucred *);
-#if defined(__i386__)
+#ifdef __NO_STRICT_ALIGNMENT
/*
* These architectures don't need re-alignment, so just return.
*/
@@ -127,7 +127,7 @@ newnfs_realign(struct mbuf **pm)
return;
}
-#else
+#else /* !__NO_STRICT_ALIGNMENT */
/*
* newnfs_realign:
*
@@ -185,7 +185,7 @@ newnfs_realign(struct mbuf **pm)
pm = &m->m_next;
}
}
-#endif /* !__i386__ */
+#endif /* __NO_STRICT_ALIGNMENT */
#ifdef notdef
static void