1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-18 10:35:55 +00:00

Use UMA_ALIGN_PTR to specify pointer alignment

Suggested by:	jhb
This commit is contained in:
Justin Hibbits 2017-05-12 04:10:02 +00:00
parent f7448f6347
commit fff0aa3e6e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=318209

View File

@ -115,7 +115,7 @@ dtsec_rm_fi_pool_init(struct dtsec_softc *sc)
sc->sc_fi_zone = uma_zcreate(sc->sc_fi_zname,
sizeof(struct dtsec_rm_frame_info), NULL, NULL, NULL, NULL,
sizeof(void *) - 1, 0);
UMA_ALIGN_PTR, 0);
if (sc->sc_fi_zone == NULL)
return (EIO);