mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-07-03 03:48:28 +08:00
dpaa: Fix FMan MAC SGT zone alignment
This commit is contained in:
parent
f60ac53420
commit
a1bad53dc1
@ -69,7 +69,7 @@ fman_mac_sgt_init(void)
|
|||||||
{
|
{
|
||||||
|
|
||||||
fman_mac_sgt_zone = uma_zcreate("FMan MAC SGT", sizeof(struct fman_mac_sgt),
|
fman_mac_sgt_zone = uma_zcreate("FMan MAC SGT", sizeof(struct fman_mac_sgt),
|
||||||
NULL, NULL, NULL, NULL, 16, 0);
|
NULL, NULL, NULL, NULL, 16 - 1, 0);
|
||||||
if (fman_mac_sgt_zone == NULL) {
|
if (fman_mac_sgt_zone == NULL) {
|
||||||
panic("Cannot create FMan MAC SGT zone");
|
panic("Cannot create FMan MAC SGT zone");
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user