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