svn commit: r367529 - stable/12/sys/mips/mips

Justin Hibbits jhibbits at FreeBSD.org
Mon Nov 9 21:19:18 UTC 2020


Author: jhibbits
Date: Mon Nov  9 21:19:17 2020
New Revision: 367529
URL: https://svnweb.freebsd.org/changeset/base/367529

Log:
  MFC r367355:
  
  Fix UMA alignment for COP2 context structure.

Modified:
  stable/12/sys/mips/mips/octeon_cop2.c
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/sys/mips/mips/octeon_cop2.c
==============================================================================
--- stable/12/sys/mips/mips/octeon_cop2.c	Mon Nov  9 18:07:21 2020	(r367528)
+++ stable/12/sys/mips/mips/octeon_cop2.c	Mon Nov  9 21:19:17 2020	(r367529)
@@ -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 *


More information about the svn-src-stable mailing list