Fix UMA alignment for COP2 context structure.

UMA alignment needs specified as (power-of-2) - 1, not power-of-2.

Discussed with:	gonzo
MFC after:	3 days
This commit is contained in:
Justin Hibbits 2020-11-04 23:29:27 +00:00
parent 8da6fc4d79
commit 01db2f5461
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=367355

View File

@ -46,7 +46,7 @@ octeon_cop2_init(void* dummy)
printf("Create COP2 context zone\n");
ctxzone = uma_zcreate("COP2 context",
sizeof(struct octeon_cop2_state),
NULL, NULL, NULL, NULL, 8, 0);
NULL, NULL, NULL, NULL, UMA_ALIGN_LONG, 0);
}
struct octeon_cop2_state *