Commit | Line | Data |
---|---|---|
af02d47e MD |
1 | Userspace RCU library licensing |
2 | Mathieu Desnoyers | |
323baef5 | 3 | September 3, 2012 |
af02d47e | 4 | |
0114ba7f MD |
5 | |
6 | * LGPLv2.1 | |
7 | ||
af02d47e | 8 | The library part is distributed under LGPLv2.1 or later. See lgpl-2.1.txt for |
323baef5 | 9 | license details. Refer to the individual file headers for details. |
af02d47e MD |
10 | |
11 | LGPL-compatible source code can statically use the library header using : | |
12 | ||
13 | #define _LGPL_SOURCE | |
14 | #include <urcu.h> | |
15 | ||
16 | Dynamic-only linking with the LGPL library is used if _LGPL_SOURCE is not | |
17 | defined. It permits relinking with newer versions of the library, which is | |
18 | required by the LGPL license. | |
19 | ||
b92c90fc MD |
20 | See lgpl-relicensing.txt for details. |
21 | ||
0114ba7f MD |
22 | |
23 | * MIT-style license : | |
24 | ||
1050892f | 25 | xchg() primitive has been rewritten from scratch starting from atomic_ops 1.2 |
0114ba7f MD |
26 | which has a MIT-style license that is intended to allow use in both free and |
27 | proprietary software: | |
28 | http://www.hpl.hp.com/research/linux/atomic_ops/LICENSING.txt | |
29 | http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/ | |
30 | ||
323baef5 MD |
31 | This MIT-style license (BSD like) apply to: |
32 | ||
33 | uatomic/gcc.h | |
34 | uatomic/unknown.h | |
35 | uatomic/generic.h | |
36 | uatomic/sparc64.h | |
37 | uatomic/arm.h | |
38 | uatomic/ppc.h | |
39 | uatomic/x86.h | |
40 | uatomic.h | |
41 | ||
42 | MIT/X11 (BSD like) license apply to: | |
0114ba7f | 43 | |
2dc5fa0f | 44 | compiler.h |
323baef5 MD |
45 | arch/s390.h |
46 | uatomic/alpha.h | |
47 | uatomic/mips.h | |
48 | uatomic/s390.h | |
49 | system.h | |
0114ba7f MD |
50 | |
51 | ||
52 | * GPLv2 | |
53 | ||
af02d47e | 54 | Library test code is distributed under the GPLv2 license. See gpl-2.0.txt for |
323baef5 MD |
55 | license details. See headers of individual files under tests/ for details. |
56 | ||
a767fdc3 MD |
57 | |
58 | * GPLv3 (or later) | |
59 | ||
60 | The following build-related macro is under GPLv3 (or later): | |
61 | ||
62 | m4/ax_tls.m4 |