xref: /linux/lib/Kconfig (revision e9cc8bddaea3944fabfebb968bc88d603239beed)
11da177e4SLinus Torvalds#
21da177e4SLinus Torvalds# Library configuration
31da177e4SLinus Torvalds#
41da177e4SLinus Torvalds
51da177e4SLinus Torvaldsmenu "Library routines"
61da177e4SLinus Torvalds
7a5cfc1ecSAkinobu Mitaconfig BITREVERSE
8a5cfc1ecSAkinobu Mita	tristate
9a5cfc1ecSAkinobu Mita
1019870defSAlexander van Heukelumconfig GENERIC_FIND_FIRST_BIT
119ba16087SJan Beulich	bool
1219870defSAlexander van Heukelum
1319870defSAlexander van Heukelumconfig GENERIC_FIND_NEXT_BIT
149ba16087SJan Beulich	bool
1519870defSAlexander van Heukelum
16ab53d472SRusty Russellconfig GENERIC_FIND_LAST_BIT
17ab53d472SRusty Russell	bool
18ab53d472SRusty Russell	default y
19ab53d472SRusty Russell
201da177e4SLinus Torvaldsconfig CRC_CCITT
211da177e4SLinus Torvalds	tristate "CRC-CCITT functions"
221da177e4SLinus Torvalds	help
231da177e4SLinus Torvalds	  This option is provided for the case where no in-kernel-tree
241da177e4SLinus Torvalds	  modules require CRC-CCITT functions, but a module built outside
251da177e4SLinus Torvalds	  the kernel tree does. Such modules that use library CRC-CCITT
261da177e4SLinus Torvalds	  functions require M here.
271da177e4SLinus Torvalds
287657ec1fSEvgeniy Polyakovconfig CRC16
297657ec1fSEvgeniy Polyakov	tristate "CRC16 functions"
307657ec1fSEvgeniy Polyakov	help
317657ec1fSEvgeniy Polyakov	  This option is provided for the case where no in-kernel-tree
327657ec1fSEvgeniy Polyakov	  modules require CRC16 functions, but a module built outside
337657ec1fSEvgeniy Polyakov	  the kernel tree does. Such modules that use library CRC16
347657ec1fSEvgeniy Polyakov	  functions require M here.
357657ec1fSEvgeniy Polyakov
36f11f594eSMartin K. Petersenconfig CRC_T10DIF
37f11f594eSMartin K. Petersen	tristate "CRC calculation for the T10 Data Integrity Field"
38f11f594eSMartin K. Petersen	help
39f11f594eSMartin K. Petersen	  This option is only needed if a module that's not in the
40f11f594eSMartin K. Petersen	  kernel tree needs to calculate CRC checks for use with the
41f11f594eSMartin K. Petersen	  SCSI data integrity subsystem.
42f11f594eSMartin K. Petersen
433e7cbae7SIvo van Doornconfig CRC_ITU_T
443e7cbae7SIvo van Doorn	tristate "CRC ITU-T V.41 functions"
453e7cbae7SIvo van Doorn	help
463e7cbae7SIvo van Doorn	  This option is provided for the case where no in-kernel-tree
473e7cbae7SIvo van Doorn	  modules require CRC ITU-T V.41 functions, but a module built outside
483e7cbae7SIvo van Doorn	  the kernel tree does. Such modules that use library CRC ITU-T V.41
493e7cbae7SIvo van Doorn	  functions require M here.
503e7cbae7SIvo van Doorn
511da177e4SLinus Torvaldsconfig CRC32
521da177e4SLinus Torvalds	tristate "CRC32 functions"
531da177e4SLinus Torvalds	default y
54906d66dfSAkinobu Mita	select BITREVERSE
551da177e4SLinus Torvalds	help
561da177e4SLinus Torvalds	  This option is provided for the case where no in-kernel-tree
571da177e4SLinus Torvalds	  modules require CRC32 functions, but a module built outside the
581da177e4SLinus Torvalds	  kernel tree does. Such modules that use library CRC32 functions
591da177e4SLinus Torvalds	  require M here.
601da177e4SLinus Torvalds
61ad241528SJan Nikitenkoconfig CRC7
62ad241528SJan Nikitenko	tristate "CRC7 functions"
63ad241528SJan Nikitenko	help
64ad241528SJan Nikitenko	  This option is provided for the case where no in-kernel-tree
65ad241528SJan Nikitenko	  modules require CRC7 functions, but a module built outside
66ad241528SJan Nikitenko	  the kernel tree does. Such modules that use library CRC7
67ad241528SJan Nikitenko	  functions require M here.
68ad241528SJan Nikitenko
691da177e4SLinus Torvaldsconfig LIBCRC32C
701da177e4SLinus Torvalds	tristate "CRC32c (Castagnoli, et al) Cyclic Redundancy-Check"
7193027354SHerbert Xu	select CRYPTO
7269c35efcSHerbert Xu	select CRYPTO_CRC32C
731da177e4SLinus Torvalds	help
741da177e4SLinus Torvalds	  This option is provided for the case where no in-kernel-tree
751da177e4SLinus Torvalds	  modules require CRC32c functions, but a module built outside the
761da177e4SLinus Torvalds	  kernel tree does. Such modules that use library CRC32c functions
771da177e4SLinus Torvalds	  require M here.  See Castagnoli93.
781da177e4SLinus Torvalds	  Module will be libcrc32c.
791da177e4SLinus Torvalds
80e65e1fc2SAl Viroconfig AUDIT_GENERIC
81e65e1fc2SAl Viro	bool
82e65e1fc2SAl Viro	depends on AUDIT && !AUDIT_ARCH
83e65e1fc2SAl Viro	default y
84e65e1fc2SAl Viro
851da177e4SLinus Torvalds#
861da177e4SLinus Torvalds# compression support is select'ed if needed
871da177e4SLinus Torvalds#
881da177e4SLinus Torvaldsconfig ZLIB_INFLATE
891da177e4SLinus Torvalds	tristate
901da177e4SLinus Torvalds
911da177e4SLinus Torvaldsconfig ZLIB_DEFLATE
921da177e4SLinus Torvalds	tristate
931da177e4SLinus Torvalds
9464c70b1cSRichard Purdieconfig LZO_COMPRESS
9564c70b1cSRichard Purdie	tristate
9664c70b1cSRichard Purdie
9764c70b1cSRichard Purdieconfig LZO_DECOMPRESS
9864c70b1cSRichard Purdie	tristate
9964c70b1cSRichard Purdie
1001da177e4SLinus Torvalds#
101f14f75b8SJes Sorensen# Generic allocator support is selected if needed
102f14f75b8SJes Sorensen#
103f14f75b8SJes Sorensenconfig GENERIC_ALLOCATOR
104f14f75b8SJes Sorensen	boolean
105f14f75b8SJes Sorensen
106f14f75b8SJes Sorensen#
1071da177e4SLinus Torvalds# reed solomon support is select'ed if needed
1081da177e4SLinus Torvalds#
1091da177e4SLinus Torvaldsconfig REED_SOLOMON
1101da177e4SLinus Torvalds	tristate
1111da177e4SLinus Torvalds
1121da177e4SLinus Torvaldsconfig REED_SOLOMON_ENC8
1131da177e4SLinus Torvalds	boolean
1141da177e4SLinus Torvalds
1151da177e4SLinus Torvaldsconfig REED_SOLOMON_DEC8
1161da177e4SLinus Torvalds	boolean
1171da177e4SLinus Torvalds
1181da177e4SLinus Torvaldsconfig REED_SOLOMON_ENC16
1191da177e4SLinus Torvalds	boolean
1201da177e4SLinus Torvalds
1211da177e4SLinus Torvaldsconfig REED_SOLOMON_DEC16
1221da177e4SLinus Torvalds	boolean
1231da177e4SLinus Torvalds
124f7704347SDavid S. Miller#
125f7704347SDavid S. Miller# Textsearch support is select'ed if needed
126f7704347SDavid S. Miller#
1272de4ff7bSThomas Grafconfig TEXTSEARCH
128f7704347SDavid S. Miller	boolean
1291da177e4SLinus Torvalds
130df3fb93aSThomas Grafconfig TEXTSEARCH_KMP
131f7704347SDavid S. Miller	tristate
132df3fb93aSThomas Graf
1338082e4edSPablo Neira Ayusoconfig TEXTSEARCH_BM
13429cb9f9cSDavid S. Miller	tristate
1358082e4edSPablo Neira Ayuso
1366408f79cSThomas Grafconfig TEXTSEARCH_FSM
137f7704347SDavid S. Miller	tristate
1386408f79cSThomas Graf
13977ba89c5SIngo Molnar#
14077ba89c5SIngo Molnar# plist support is select#ed if needed
14177ba89c5SIngo Molnar#
14277ba89c5SIngo Molnarconfig PLIST
14377ba89c5SIngo Molnar	boolean
14477ba89c5SIngo Molnar
1455ea81769SAl Viroconfig HAS_IOMEM
146ee36c2bfSAl Viro	boolean
1475ea81769SAl Viro	depends on !NO_IOMEM
1485ea81769SAl Viro	default y
1495ea81769SAl Viro
1505ea81769SAl Viroconfig HAS_IOPORT
1515ea81769SAl Viro	boolean
1525ea81769SAl Viro	depends on HAS_IOMEM && !NO_IOPORT
153ee36c2bfSAl Viro	default y
154ee36c2bfSAl Viro
155411f0f3eSHeiko Carstensconfig HAS_DMA
156411f0f3eSHeiko Carstens	boolean
157411f0f3eSHeiko Carstens	depends on !NO_DMA
158411f0f3eSHeiko Carstens	default y
159411f0f3eSHeiko Carstens
160928923c7SGeert Uytterhoevenconfig CHECK_SIGNATURE
161928923c7SGeert Uytterhoeven	bool
162928923c7SGeert Uytterhoeven
163d9b2b2a2SDavid S. Millerconfig HAVE_LMB
164d9b2b2a2SDavid S. Miller	boolean
165d9b2b2a2SDavid S. Miller
166aab46da0SRusty Russellconfig CPUMASK_OFFSTACK
167aab46da0SRusty Russell	bool "Force CPU masks off stack" if DEBUG_PER_CPU_MAPS
168aab46da0SRusty Russell	help
169aab46da0SRusty Russell	  Use dynamic allocation for cpumask_var_t, instead of putting
170aab46da0SRusty Russell	  them on the stack.  This is a bit more expensive, but avoids
171aab46da0SRusty Russell	  stack overflow.
172aab46da0SRusty Russell
1738c384cdeSRusty Russellconfig DISABLE_OBSOLETE_CPUMASK_FUNCTIONS
1748c384cdeSRusty Russell       bool "Disable obsolete cpumask functions" if DEBUG_PER_CPU_MAPS
1758c384cdeSRusty Russell       depends on EXPERIMENTAL && BROKEN
1768c384cdeSRusty Russell
177*e9cc8bddSGeert Uytterhoeven#
178*e9cc8bddSGeert Uytterhoeven# Netlink attribute parsing support is select'ed if needed
179*e9cc8bddSGeert Uytterhoeven#
180*e9cc8bddSGeert Uytterhoevenconfig NLATTR
181*e9cc8bddSGeert Uytterhoeven	bool
182*e9cc8bddSGeert Uytterhoeven
1832de4ff7bSThomas Grafendmenu
184