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

[PATCH v4 08/11] xsm: drop generic event channel labeling exclusion


  • To: xen-devel@xxxxxxxxxxxxxxxxxxxx
  • From: "Daniel P. Smith" <dpsmith@xxxxxxxxxxxxxxxxxxxx>
  • Date: Fri, 3 Sep 2021 15:06:26 -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=1630681610; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=OgL0twSQXxCO75U01QAyE+snmmbBrwyx4tBfZzhsUPE=; b=jriZcMk0QAlQDwqd9hUmAFmBdN4GJoYRaEmd+YHpKX0SL+UPXmbNtZcqoMhQSCtEyt1kPYe0QYzzE9pdr7wGpidWVQ7jEM4kx+MPlTs4NJxhi84N7kK6LaUKJviuftYYlGwX8nBEU1JwBLrLCELr/mp/Ju0n3Ae8nXv46//zZ5k=
  • Arc-seal: i=1; a=rsa-sha256; t=1630681610; cv=none; d=zohomail.com; s=zohoarc; b=lAaLajPmJgFfFXG9/fAvb2ro5HO85Q3nsofHT2js9kIjJLUIcmAEwVnVRByD18B9BbfWzRwjXmHiRQ1NkHqkCAR6baJbqVuXyFDQKewron6VMgyp1EwK0vRuauCP8k7v0/w3eJpo6xNKA1Yg6FnkV3iStlXyd6g2aenWpPZrl4M=
  • Cc: "Daniel P. Smith" <dpsmith@xxxxxxxxxxxxxxxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, George Dunlap <george.dunlap@xxxxxxxxxx>, Ian Jackson <iwj@xxxxxxxxxxxxxx>, Jan Beulich <jbeulich@xxxxxxxx>, Julien Grall <julien@xxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>
  • Delivery-date: Fri, 03 Sep 2021 15:08:15 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

The internal define flag is not used by any XSM module, removing the #ifdef
leaving the generic event channel labeling as always present.

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

diff --git a/xen/include/xen/sched.h b/xen/include/xen/sched.h
index 28146ee404..e56690cd2b 100644
--- a/xen/include/xen/sched.h
+++ b/xen/include/xen/sched.h
@@ -122,13 +122,11 @@ struct evtchn
 
 #ifdef CONFIG_XSM
     union {
-#ifdef XSM_NEED_GENERIC_EVTCHN_SSID
         /*
          * If an XSM module needs more space for its event channel context,
          * this pointer stores the necessary data for the security server.
          */
         void *generic;
-#endif
 #ifdef CONFIG_XSM_FLASK
         /*
          * Inlining the contents of the structure for FLASK avoids unneeded
-- 
2.20.1




 


Rackspace

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