Use UMA_ALIGN_PTR to specify pointer alignment
Suggested by: jhb
This commit is contained in:
parent
f7448f6347
commit
fff0aa3e6e
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user