Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Nov 2020 21:19:17 +0000 (UTC)
From:      Justin Hibbits <jhibbits@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org
Subject:   svn commit: r367529 - stable/12/sys/mips/mips
Message-ID:  <202011092119.0A9LJHkQ051376@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 *



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202011092119.0A9LJHkQ051376>