|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Minios-devel] [UNIKRAFT PATCH 1/1] plat/common, plat/linuxu: Solve wrong set_tls_pointer definition in Linuxu
Hey Vlad,thanks a lot for looking into this and fixing it. It took a bit for me to figure out what was going on before commit ae683f4. In fact, linuxu replaced the common tls.h with the include order. Due to the movement of headers, this did not happen anymore. Thanks, Simon Reviewed-by: Simon Kuenzer <simon.kuenzer@xxxxxxxxx> On 27.11.19 17:32, Vlad-Andrei BĂDOIU (78692) wrote:
I am actually not a big fan of having a platform-specific include guard in this common file but I would have done the same. The whole thing reminds me that we have to sit down and re-organize the code within platform/architecture. I like that your guard is an obvious hint, while the original include order is a bit non-transparent. +#include <linuxu/tls.h> +#elif defined(__X86_64__) #include <x86/tls.h> #elif defined(__ARM_64__) #include <arm/arm64/tls.h> diff --git a/plat/linuxu/include/tls.h b/plat/linuxu/include/linuxu/tls.h similarity index 100% rename from plat/linuxu/include/tls.h rename to plat/linuxu/include/linuxu/tls.h _______________________________________________ Minios-devel mailing list Minios-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/minios-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |