[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH v5 03/10] xsm: remove remnants of xsm_memtype hook


  • To: "Daniel P. Smith" <dpsmith@xxxxxxxxxxxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx
  • From: "Daniel P. Smith" <dpsmith@xxxxxxxxxxxxxxxxxxxx>
  • Date: Thu, 9 Sep 2021 22:12:28 -0400
  • Arc-authentication-results: i=1; mx.zohomail.com; dkim=pass header.i=apertussolutions.com; spf=pass smtp.mailfrom=dpsmith@xxxxxxxxxxxxxxxxxxxx; dmarc=pass header.from=<dpsmith@xxxxxxxxxxxxxxxxxxxx>
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1631225555; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=gyz+bf9QEJJHVoMwH4co/BQLSlmGwar3N5lL6fpMtbE=; b=FyuQltnzuom3bSYXCvcEHnY19ve3kdfgLmx65Ngi5EfbDNbtd91fklafrekLyXtFYkACw4Qyr14SXtsEjV9NBvY7Q0/0TdqujPRVYIuci58hsx0uEaPjx3RdK1IU3QUzLHa6biZWzgPUuvZ1NwjeDsZGXLMHQYuQbkIeeQts5Sg=
  • Arc-seal: i=1; a=rsa-sha256; t=1631225555; cv=none; d=zohomail.com; s=zohoarc; b=gMQYlJZzopPp8jK7IKyN8Yf0Kemzm4l+W4gkn1I4gndKwOv+TuSpZ37pzJ+W/KHwqB9euhqST+Y38zvCjFmC1msBWj9x/XAwql2uvgDADsUmXiJFnyXnpK7jVtKsNFKiCTi/Xgc+TM9MBqdbKcMv8lCNU8/RbKjd3cbzZWv/gII=
  • Cc: Daniel De Graaf <dgdegra@xxxxxxxxxxxxx>
  • Delivery-date: Thu, 09 Sep 2021 22:13:15 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

In c/s fcb8baddf00e the xsm_memtype hook was removed but some remnants were
left behind. This commit cleans up those remnants.

Signed-off-by: Daniel P. Smith <dpsmith@xxxxxxxxxxxxxxxxxxxx>
---
 xen/include/xsm/xsm.h | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/xen/include/xsm/xsm.h b/xen/include/xsm/xsm.h
index ad3cddbf7d..335ba1b022 100644
--- a/xen/include/xsm/xsm.h
+++ b/xen/include/xsm/xsm.h
@@ -161,7 +161,6 @@ struct xsm_operations {
     int (*shadow_control) (struct domain *d, uint32_t op);
     int (*mem_sharing_op) (struct domain *d, struct domain *cd, int op);
     int (*apic) (struct domain *d, int cmd);
-    int (*memtype) (uint32_t access);
     int (*machine_memory_map) (void);
     int (*domain_memory_map) (struct domain *d);
 #define XSM_MMU_UPDATE_READ      1
@@ -632,11 +631,6 @@ static inline int xsm_apic (xsm_default_t def, struct 
domain *d, int cmd)
     return xsm_ops->apic(d, cmd);
 }
 
-static inline int xsm_memtype (xsm_default_t def, uint32_t access)
-{
-    return xsm_ops->memtype(access);
-}
-
 static inline int xsm_machine_memory_map(xsm_default_t def)
 {
     return xsm_ops->machine_memory_map();
-- 
2.20.1




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.