Commit | Line | Data |
---|---|---|
af02d47e MD |
1 | Userspace RCU library licensing |
2 | Mathieu Desnoyers | |
a767fdc3 | 3 | May 15, 2012 |
af02d47e | 4 | |
0114ba7f MD |
5 | |
6 | * LGPLv2.1 | |
7 | ||
af02d47e MD |
8 | The library part is distributed under LGPLv2.1 or later. See lgpl-2.1.txt for |
9 | details. This applies to : | |
10 | ||
11 | urcu.h | |
12 | urcu.c | |
13 | urcu-static.h | |
14 | arch_x86.h | |
15 | arch_ppc.h | |
16 | ||
17 | LGPL-compatible source code can statically use the library header using : | |
18 | ||
19 | #define _LGPL_SOURCE | |
20 | #include <urcu.h> | |
21 | ||
22 | Dynamic-only linking with the LGPL library is used if _LGPL_SOURCE is not | |
23 | defined. It permits relinking with newer versions of the library, which is | |
24 | required by the LGPL license. | |
25 | ||
b92c90fc MD |
26 | See lgpl-relicensing.txt for details. |
27 | ||
0114ba7f MD |
28 | |
29 | * MIT-style license : | |
30 | ||
1050892f | 31 | xchg() primitive has been rewritten from scratch starting from atomic_ops 1.2 |
0114ba7f MD |
32 | which has a MIT-style license that is intended to allow use in both free and |
33 | proprietary software: | |
34 | http://www.hpl.hp.com/research/linux/atomic_ops/LICENSING.txt | |
35 | http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/ | |
36 | ||
37 | This license applies to : | |
38 | ||
39 | arch_atomic_x86.h | |
40 | arch_atomic_ppc.h | |
9fb223da MD |
41 | arch_atomic_s390.h |
42 | arch_s390.h | |
2dc5fa0f | 43 | compiler.h |
0114ba7f MD |
44 | |
45 | ||
46 | * GPLv2 | |
47 | ||
af02d47e MD |
48 | Library test code is distributed under the GPLv2 license. See gpl-2.0.txt for |
49 | details. This applies to : | |
50 | ||
51 | urcutorture.h | |
52 | urcutorture.c | |
53 | api_x86.h | |
54 | api_ppc.h | |
7abf2d0d | 55 | api_gcc.h |
af02d47e MD |
56 | test_urcu.c |
57 | test_urcu_yield.c | |
58 | test_rwlock_timing.c | |
5e13fab8 | 59 | urcu-asm.c |
a767fdc3 MD |
60 | |
61 | * GPLv3 (or later) | |
62 | ||
63 | The following build-related macro is under GPLv3 (or later): | |
64 | ||
65 | m4/ax_tls.m4 |