blob: 97d62cf091a7253aa960442e585f747273e3d937 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#
2# Library configuration
3#
4
Lai Jiangshan4370aa42009-03-06 17:21:46 +01005config BINARY_PRINTF
6 def_bool n
7
Linus Torvalds1da177e2005-04-16 15:20:36 -07008menu "Library routines"
9
Akinobu Mitaa5cfc1ec582006-12-08 02:36:25 -080010config BITREVERSE
11 tristate
12
Alexander van Heukelum19870de2008-04-25 13:12:53 +020013config GENERIC_FIND_FIRST_BIT
Jan Beulich9ba16082008-10-15 22:01:38 -070014 bool
Alexander van Heukelum19870de2008-04-25 13:12:53 +020015
16config GENERIC_FIND_NEXT_BIT
Jan Beulich9ba16082008-10-15 22:01:38 -070017 bool
Alexander van Heukelum19870de2008-04-25 13:12:53 +020018
Rusty Russellab53d472009-01-01 10:12:19 +103019config GENERIC_FIND_LAST_BIT
20 bool
21 default y
22
Linus Torvalds1da177e2005-04-16 15:20:36 -070023config CRC_CCITT
24 tristate "CRC-CCITT functions"
25 help
26 This option is provided for the case where no in-kernel-tree
27 modules require CRC-CCITT functions, but a module built outside
28 the kernel tree does. Such modules that use library CRC-CCITT
29 functions require M here.
30
Evgeniy Polyakov7657ec12005-08-17 15:17:26 +040031config CRC16
32 tristate "CRC16 functions"
33 help
34 This option is provided for the case where no in-kernel-tree
35 modules require CRC16 functions, but a module built outside
36 the kernel tree does. Such modules that use library CRC16
37 functions require M here.
38
Martin K. Petersenf11f5942008-06-25 11:22:42 -040039config CRC_T10DIF
40 tristate "CRC calculation for the T10 Data Integrity Field"
41 help
42 This option is only needed if a module that's not in the
43 kernel tree needs to calculate CRC checks for use with the
44 SCSI data integrity subsystem.
45
Ivo van Doorn3e7cbae2006-06-12 16:17:04 +020046config CRC_ITU_T
47 tristate "CRC ITU-T V.41 functions"
48 help
49 This option is provided for the case where no in-kernel-tree
50 modules require CRC ITU-T V.41 functions, but a module built outside
51 the kernel tree does. Such modules that use library CRC ITU-T V.41
52 functions require M here.
53
Linus Torvalds1da177e2005-04-16 15:20:36 -070054config CRC32
55 tristate "CRC32 functions"
56 default y
Akinobu Mita906d66d2006-12-08 02:36:25 -080057 select BITREVERSE
Linus Torvalds1da177e2005-04-16 15:20:36 -070058 help
59 This option is provided for the case where no in-kernel-tree
60 modules require CRC32 functions, but a module built outside the
61 kernel tree does. Such modules that use library CRC32 functions
62 require M here.
63
Jan Nikitenkoad241522007-07-17 04:04:03 -070064config CRC7
65 tristate "CRC7 functions"
66 help
67 This option is provided for the case where no in-kernel-tree
68 modules require CRC7 functions, but a module built outside
69 the kernel tree does. Such modules that use library CRC7
70 functions require M here.
71
Linus Torvalds1da177e2005-04-16 15:20:36 -070072config LIBCRC32C
73 tristate "CRC32c (Castagnoli, et al) Cyclic Redundancy-Check"
Herbert Xu93027352008-11-13 22:05:13 +080074 select CRYPTO
Herbert Xu69c35ef2008-11-07 15:11:47 +080075 select CRYPTO_CRC32C
Linus Torvalds1da177e2005-04-16 15:20:36 -070076 help
77 This option is provided for the case where no in-kernel-tree
78 modules require CRC32c functions, but a module built outside the
79 kernel tree does. Such modules that use library CRC32c functions
80 require M here. See Castagnoli93.
81 Module will be libcrc32c.
82
Al Viroe65e1fc2006-09-12 03:04:40 -040083config AUDIT_GENERIC
84 bool
85 depends on AUDIT && !AUDIT_ARCH
86 default y
87
Linus Torvalds1da177e2005-04-16 15:20:36 -070088#
89# compression support is select'ed if needed
90#
91config ZLIB_INFLATE
92 tristate
93
94config ZLIB_DEFLATE
95 tristate
96
Richard Purdie64c70b12007-07-10 17:22:24 -070097config LZO_COMPRESS
98 tristate
99
100config LZO_DECOMPRESS
101 tristate
102
Linus Torvalds1da177e2005-04-16 15:20:36 -0700103#
Jes Sorensenf14f75b2005-06-21 17:15:02 -0700104# Generic allocator support is selected if needed
105#
106config GENERIC_ALLOCATOR
107 boolean
108
109#
Linus Torvalds1da177e2005-04-16 15:20:36 -0700110# reed solomon support is select'ed if needed
111#
112config REED_SOLOMON
113 tristate
114
115config REED_SOLOMON_ENC8
116 boolean
117
118config REED_SOLOMON_DEC8
119 boolean
120
121config REED_SOLOMON_ENC16
122 boolean
123
124config REED_SOLOMON_DEC16
125 boolean
126
David S. Millerf7704342005-06-24 17:39:03 -0700127#
128# Textsearch support is select'ed if needed
129#
Thomas Graf2de4ff72005-06-23 20:49:30 -0700130config TEXTSEARCH
David S. Millerf7704342005-06-24 17:39:03 -0700131 boolean
Linus Torvalds1da177e2005-04-16 15:20:36 -0700132
Thomas Grafdf3fb932005-06-23 20:58:37 -0700133config TEXTSEARCH_KMP
David S. Millerf7704342005-06-24 17:39:03 -0700134 tristate
Thomas Grafdf3fb932005-06-23 20:58:37 -0700135
Pablo Neira Ayuso8082e4e2005-08-25 16:12:22 -0700136config TEXTSEARCH_BM
David S. Miller29cb9f92005-08-25 16:23:11 -0700137 tristate
Pablo Neira Ayuso8082e4e2005-08-25 16:12:22 -0700138
Thomas Graf6408f792005-06-23 20:59:16 -0700139config TEXTSEARCH_FSM
David S. Millerf7704342005-06-24 17:39:03 -0700140 tristate
Thomas Graf6408f792005-06-23 20:59:16 -0700141
Ingo Molnar77ba89c2006-06-27 02:54:51 -0700142#
143# plist support is select#ed if needed
144#
145config PLIST
146 boolean
147
Al Viro5ea81762007-02-11 15:41:31 +0000148config HAS_IOMEM
Al Viroee36c2b2006-12-13 00:35:00 -0800149 boolean
Al Viro5ea81762007-02-11 15:41:31 +0000150 depends on !NO_IOMEM
151 default y
152
153config HAS_IOPORT
154 boolean
155 depends on HAS_IOMEM && !NO_IOPORT
Al Viroee36c2b2006-12-13 00:35:00 -0800156 default y
157
Heiko Carstens411f0f32007-05-06 14:49:09 -0700158config HAS_DMA
159 boolean
160 depends on !NO_DMA
161 default y
162
Geert Uytterhoeven928923c2007-08-22 14:01:36 -0700163config CHECK_SIGNATURE
164 bool
165
David S. Millerd9b2b2a2008-02-13 16:56:49 -0800166config HAVE_LMB
167 boolean
168
Rusty Russellaab46da2008-12-13 21:20:27 +1030169config CPUMASK_OFFSTACK
170 bool "Force CPU masks off stack" if DEBUG_PER_CPU_MAPS
171 help
172 Use dynamic allocation for cpumask_var_t, instead of putting
173 them on the stack. This is a bit more expensive, but avoids
174 stack overflow.
175
Rusty Russell8c384cd2009-01-01 10:12:30 +1030176config DISABLE_OBSOLETE_CPUMASK_FUNCTIONS
177 bool "Disable obsolete cpumask functions" if DEBUG_PER_CPU_MAPS
178 depends on EXPERIMENTAL && BROKEN
179
Thomas Graf2de4ff72005-06-23 20:49:30 -0700180endmenu