Fix the experimental NFS subsystem so that it uses the correct
preprocessor macro name for not requiring strict data alignment. Suggested by: marius MFC after: 2 weeks
This commit is contained in:
parent
2cf63c604b
commit
823182179d
@ -117,7 +117,7 @@ struct mtx nfs_slock_mutex;
|
|||||||
/* local functions */
|
/* local functions */
|
||||||
static int nfssvc_call(struct thread *, struct nfssvc_args *, struct ucred *);
|
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.
|
* These architectures don't need re-alignment, so just return.
|
||||||
*/
|
*/
|
||||||
@ -127,7 +127,7 @@ newnfs_realign(struct mbuf **pm)
|
|||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
#else
|
#else /* !__NO_STRICT_ALIGNMENT */
|
||||||
/*
|
/*
|
||||||
* newnfs_realign:
|
* newnfs_realign:
|
||||||
*
|
*
|
||||||
@ -185,7 +185,7 @@ newnfs_realign(struct mbuf **pm)
|
|||||||
pm = &m->m_next;
|
pm = &m->m_next;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif /* !__i386__ */
|
#endif /* __NO_STRICT_ALIGNMENT */
|
||||||
|
|
||||||
#ifdef notdef
|
#ifdef notdef
|
||||||
static void
|
static void
|
||||||
|
Loading…
x
Reference in New Issue
Block a user