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

Re: [Minios-devel] [UNIKRAFT PATCH] plat/common: remove unused #defines



Hi Costin,

that's fine with me. It's not a huge issue anyway, I just noticed when I touched that file for the context switching patch series I'm about to send out later.

Cheers,
Florian

On 10/11/2018 03:16 PM, Costin Lupu wrote:
Hi Florian,

I would delay this patch until after the changes for the preemptive
scheduler will get upstreamed when we'll know for sure if we need them
or not.

Costin

On 10/11/18 4:05 PM, Florian Schmidt wrote:
Signed-off-by: Florian Schmidt <florian.schmidt@xxxxxxxxx>
---
  plat/common/include/sw_ctx.h | 5 -----
  1 file changed, 5 deletions(-)

diff --git a/plat/common/include/sw_ctx.h b/plat/common/include/sw_ctx.h
index fae96be..34116b1 100644
--- a/plat/common/include/sw_ctx.h
+++ b/plat/common/include/sw_ctx.h
@@ -48,9 +48,4 @@ void sw_ctx_callbacks_init(struct ukplat_ctx_callbacks 
*ctx_cbs);
  #define OFFSETOF_SW_CTX_SP      0
  #define OFFSETOF_SW_CTX_IP      8
-#define SIZEOF_SW_CTX 8
-
-/* TODO This should be better defined in the thread header */
-#define OFFSETOF_UKTHREAD_SW_CTX  16
-
  #endif /* __PLAT_CMN_SW_CTX_H__ */


--
Dr. Florian Schmidt
フローリアン・シュミット
Research Scientist,
Systems and Machine Learning Group
NEC Laboratories Europe
Kurfürsten-Anlage 36, D-69115 Heidelberg
Tel.     +49 (0)6221 4342-265
Fax:     +49 (0)6221 4342-155
e-mail:  florian.schmidt@xxxxxxxxx
============================================================
Registered at Amtsgericht Mannheim, Germany, HRB728558

_______________________________________________
Minios-devel mailing list
Minios-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/minios-devel

 


Rackspace

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