| Lorenz Brun | 344237a | 2024-08-21 17:33:36 +0200 | [diff] [blame] | 1 | From 9801dd97397d77ff0dd9d7d57a4915ca604f49c2 Mon Sep 17 00:00:00 2001 |
| 2 | From: Lorenz Brun <lorenz@monogon.tech> |
| 3 | Date: Wed, 21 Aug 2024 16:59:02 +0200 |
| 4 | Subject: [PATCH] Add generated configs |
| 5 | |
| 6 | --- |
| 7 | include/config.h | 8 ++++++++ |
| 8 | include/urcu/config.h | 4 ++++ |
| 9 | 2 files changed, 12 insertions(+) |
| 10 | create mode 100644 include/config.h |
| 11 | create mode 100644 include/urcu/config.h |
| 12 | |
| 13 | diff --git a/include/config.h b/include/config.h |
| 14 | new file mode 100644 |
| 15 | index 0000000..9d25ae3 |
| 16 | --- /dev/null |
| 17 | +++ b/include/config.h |
| 18 | @@ -0,0 +1,8 @@ |
| 19 | +#define CONFIG_RCU_HAVE_CLOCK_GETTIME 1 |
| 20 | +#define CONFIG_RCU_SMP 1 |
| 21 | +#define CONFIG_RCU_TLS 1 |
| 22 | + |
| 23 | +#define HAVE_SCHED_SETAFFINITY 1 |
| 24 | +#define HAVE_GETTID 1 |
| 25 | +#define HAVE_SCHED_GETCPU 1 |
| 26 | +#define HAVE_SYSCONF 1 |
| 27 | diff --git a/include/urcu/config.h b/include/urcu/config.h |
| 28 | new file mode 100644 |
| 29 | index 0000000..1a07402 |
| 30 | --- /dev/null |
| 31 | +++ b/include/urcu/config.h |
| 32 | @@ -0,0 +1,4 @@ |
| 33 | +#define CONFIG_RCU_SMP 1 |
| 34 | +#define CONFIG_RCU_TLS 1 |
| 35 | +#define CONFIG_RCU_HAVE_CLOCK_GETTIME 1 |
| 36 | +#define CONFIG_RCU_HAVE_MULTIFLAVOR 1 |
| 37 | -- |
| 38 | 2.44.1 |
| 39 | |