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:
parent
8da6fc4d79
commit
01db2f5461
@ -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 *
|
||||
|
Loading…
x
Reference in New Issue
Block a user