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

Re: [Minios-devel] [UNIKRAFT PATCH v4 1/4] Move UK_SWRAND_CTOR_PRIO to uk/swrand.h



Thanks a lot!

I will upstream this patch already.

Reviewed-by: Simon Kuenzer <simon.kuenzer@xxxxxxxxx>

On 04.02.20 15:09, Vlad-Andrei BĂDOIU (78692) wrote:
We move UK_SWRAND_CTOR_PRIO to uk/swrand.h. This enables other libraries to base
their constructor priority on the existing priority of ukswrand.

Signed-off-by: Vlad-Andrei Badoiu <vlad_andrei.badoiu@xxxxxxxxxxxxxxx>
---
  lib/ukswrand/include/uk/swrand.h | 2 ++
  lib/ukswrand/swrand.c            | 2 --
  2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/ukswrand/include/uk/swrand.h b/lib/ukswrand/include/uk/swrand.h
index 29be8a9b..69579a1a 100644
--- a/lib/ukswrand/include/uk/swrand.h
+++ b/lib/ukswrand/include/uk/swrand.h
@@ -45,6 +45,8 @@
  extern "C" {
  #endif
+#define UK_SWRAND_CTOR_PRIO 1
+
  struct uk_swrand;
extern struct uk_swrand uk_swrand_def;
diff --git a/lib/ukswrand/swrand.c b/lib/ukswrand/swrand.c
index 47b2e60a..51fe4527 100644
--- a/lib/ukswrand/swrand.c
+++ b/lib/ukswrand/swrand.c
@@ -35,8 +35,6 @@
  #include <uk/config.h>
  #include <uk/print.h>
-#define UK_SWRAND_CTOR_PRIO 1
-
  __u32 uk_swrandr_gen_seed32(void)
  {
        __u32 val;


_______________________________________________
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®.