changeset 20643:1b9c371b1b41

fm cpumem_retire: check for amd64 instead of just i386
author Lauri Tirkkonen <lotheac@iki.fi>
date Mon, 04 Nov 2019 13:00:30 +0200
parents 0332b7d5ce1d
children c220c8b6a4e2
files usr/src/cmd/fm/modules/common/cpumem-retire/cma_main.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/usr/src/cmd/fm/modules/common/cpumem-retire/cma_main.c	Mon Nov 04 12:26:36 2019 +0200
+++ b/usr/src/cmd/fm/modules/common/cpumem-retire/cma_main.c	Mon Nov 04 13:00:30 2019 +0200
@@ -76,7 +76,7 @@
 } cma_subscriber_t;
 
 static const cma_subscriber_t cma_subrs[] = {
-#if defined(i386)
+#if defined(i386) || defined(__amd64__)
 	/*
 	 * On x86, the ASRUs are expected to be in hc scheme.  When
 	 * cpumem-retire wants to retire a cpu or mem page, it calls the