X-Git-Url: https://git.lttng.org/?p=urcu.git;a=blobdiff_plain;f=include%2Furcu%2Fconfig.h.in;h=99d763a6e8ba64e7741680de3bd44bfaf53531e6;hp=4b856dcfc0900cd403ae59833b7f494d4c0f6a71;hb=a142df4e35dcf835439bf6714e49e95a2a68f7a6;hpb=6893800a4d1cc14dff0395ddcd660a5138db183d diff --git a/include/urcu/config.h.in b/include/urcu/config.h.in index 4b856dc..99d763a 100644 --- a/include/urcu/config.h.in +++ b/include/urcu/config.h.in @@ -1,24 +1,27 @@ /* urcu/config.h.in. Manually generated for control over the contained defs. */ -/* Defined when on a system that has memory fence instructions. */ -#undef CONFIG_RCU_HAVE_FENCE - -/* Defined when on a system with futex support. */ -#undef CONFIG_RCU_HAVE_FUTEX - /* Enable SMP support. With SMP support enabled, uniprocessors are also supported. With SMP support disabled, UP systems work fine, but the behavior of SMP systems is undefined. */ #undef CONFIG_RCU_SMP -/* Compatibility mode for i386 which lacks cmpxchg instruction. */ -#undef CONFIG_RCU_COMPAT_ARCH - -/* Use the dmb instruction is available for use on ARM. */ -#undef CONFIG_RCU_ARM_HAVE_DMB - /* TLS provided by the compiler. */ #undef CONFIG_RCU_TLS /* clock_gettime() is detected. */ #undef CONFIG_RCU_HAVE_CLOCK_GETTIME + +/* Require the operating system to support the membarrier system call for + default and bulletproof flavors. */ +#undef CONFIG_RCU_FORCE_SYS_MEMBARRIER + +/* Enable internal debugging self-checks. + Introduces a performance penalty. */ +#undef CONFIG_RCU_DEBUG + +/* Expose multi-flavor support */ +#define CONFIG_RCU_HAVE_MULTIFLAVOR 1 + +/* Enable extra debugging checks for lock-free hash table iterator + traversal. */ +#undef CONFIG_CDS_LFHT_ITER_DEBUG