Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | # |
| 2 | # Library configuration |
| 3 | # |
| 4 | |
| 5 | menu "Library routines" |
| 6 | |
Akinobu Mita | a5cfc1e | 2006-12-08 02:36:25 -0800 | [diff] [blame] | 7 | config BITREVERSE |
| 8 | tristate |
| 9 | |
Alexander van Heukelum | 19870de | 2008-04-25 13:12:53 +0200 | [diff] [blame] | 10 | config GENERIC_FIND_FIRST_BIT |
Jan Beulich | 9ba1608 | 2008-10-15 22:01:38 -0700 | [diff] [blame] | 11 | bool |
Alexander van Heukelum | 19870de | 2008-04-25 13:12:53 +0200 | [diff] [blame] | 12 | |
| 13 | config GENERIC_FIND_NEXT_BIT |
Jan Beulich | 9ba1608 | 2008-10-15 22:01:38 -0700 | [diff] [blame] | 14 | bool |
Alexander van Heukelum | 19870de | 2008-04-25 13:12:53 +0200 | [diff] [blame] | 15 | |
Rusty Russell | ab53d47 | 2009-01-01 10:12:19 +1030 | [diff] [blame] | 16 | config GENERIC_FIND_LAST_BIT |
| 17 | bool |
| 18 | default y |
| 19 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 20 | config CRC_CCITT |
| 21 | tristate "CRC-CCITT functions" |
| 22 | help |
| 23 | This option is provided for the case where no in-kernel-tree |
| 24 | modules require CRC-CCITT functions, but a module built outside |
| 25 | the kernel tree does. Such modules that use library CRC-CCITT |
| 26 | functions require M here. |
| 27 | |
Evgeniy Polyakov | 7657ec1 | 2005-08-17 15:17:26 +0400 | [diff] [blame] | 28 | config CRC16 |
| 29 | tristate "CRC16 functions" |
| 30 | help |
| 31 | This option is provided for the case where no in-kernel-tree |
| 32 | modules require CRC16 functions, but a module built outside |
| 33 | the kernel tree does. Such modules that use library CRC16 |
| 34 | functions require M here. |
| 35 | |
Martin K. Petersen | f11f594 | 2008-06-25 11:22:42 -0400 | [diff] [blame] | 36 | config CRC_T10DIF |
| 37 | tristate "CRC calculation for the T10 Data Integrity Field" |
| 38 | help |
| 39 | This option is only needed if a module that's not in the |
| 40 | kernel tree needs to calculate CRC checks for use with the |
| 41 | SCSI data integrity subsystem. |
| 42 | |
Ivo van Doorn | 3e7cbae | 2006-06-12 16:17:04 +0200 | [diff] [blame] | 43 | config CRC_ITU_T |
| 44 | tristate "CRC ITU-T V.41 functions" |
| 45 | help |
| 46 | This option is provided for the case where no in-kernel-tree |
| 47 | modules require CRC ITU-T V.41 functions, but a module built outside |
| 48 | the kernel tree does. Such modules that use library CRC ITU-T V.41 |
| 49 | functions require M here. |
| 50 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 51 | config CRC32 |
| 52 | tristate "CRC32 functions" |
| 53 | default y |
Akinobu Mita | 906d66d | 2006-12-08 02:36:25 -0800 | [diff] [blame] | 54 | select BITREVERSE |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 55 | help |
| 56 | This option is provided for the case where no in-kernel-tree |
| 57 | modules require CRC32 functions, but a module built outside the |
| 58 | kernel tree does. Such modules that use library CRC32 functions |
| 59 | require M here. |
| 60 | |
Jan Nikitenko | ad24152 | 2007-07-17 04:04:03 -0700 | [diff] [blame] | 61 | config CRC7 |
| 62 | tristate "CRC7 functions" |
| 63 | help |
| 64 | This option is provided for the case where no in-kernel-tree |
| 65 | modules require CRC7 functions, but a module built outside |
| 66 | the kernel tree does. Such modules that use library CRC7 |
| 67 | functions require M here. |
| 68 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 69 | config LIBCRC32C |
| 70 | tristate "CRC32c (Castagnoli, et al) Cyclic Redundancy-Check" |
Herbert Xu | 9302735 | 2008-11-13 22:05:13 +0800 | [diff] [blame] | 71 | select CRYPTO |
Herbert Xu | 69c35ef | 2008-11-07 15:11:47 +0800 | [diff] [blame] | 72 | select CRYPTO_CRC32C |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 73 | help |
| 74 | This option is provided for the case where no in-kernel-tree |
| 75 | modules require CRC32c functions, but a module built outside the |
| 76 | kernel tree does. Such modules that use library CRC32c functions |
| 77 | require M here. See Castagnoli93. |
| 78 | Module will be libcrc32c. |
| 79 | |
Al Viro | e65e1fc | 2006-09-12 03:04:40 -0400 | [diff] [blame] | 80 | config AUDIT_GENERIC |
| 81 | bool |
| 82 | depends on AUDIT && !AUDIT_ARCH |
| 83 | default y |
| 84 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 85 | # |
| 86 | # compression support is select'ed if needed |
| 87 | # |
| 88 | config ZLIB_INFLATE |
| 89 | tristate |
| 90 | |
| 91 | config ZLIB_DEFLATE |
| 92 | tristate |
| 93 | |
Richard Purdie | 64c70b1 | 2007-07-10 17:22:24 -0700 | [diff] [blame] | 94 | config LZO_COMPRESS |
| 95 | tristate |
| 96 | |
| 97 | config LZO_DECOMPRESS |
| 98 | tristate |
| 99 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 100 | # |
H. Peter Anvin | c8531ab | 2009-01-05 13:48:31 -0800 | [diff] [blame] | 101 | # These all provide a common interface (hence the apparent duplication with |
| 102 | # ZLIB_INFLATE; DECOMPRESS_GZIP is just a wrapper.) |
| 103 | # |
| 104 | config DECOMPRESS_GZIP |
H. Peter Anvin | 7856a16e | 2009-01-07 00:01:43 -0800 | [diff] [blame] | 105 | select ZLIB_INFLATE |
H. Peter Anvin | c8531ab | 2009-01-05 13:48:31 -0800 | [diff] [blame] | 106 | tristate |
| 107 | |
| 108 | config DECOMPRESS_BZIP2 |
| 109 | tristate |
| 110 | |
| 111 | config DECOMPRESS_LZMA |
| 112 | tristate |
| 113 | |
| 114 | # |
Jes Sorensen | f14f75b | 2005-06-21 17:15:02 -0700 | [diff] [blame] | 115 | # Generic allocator support is selected if needed |
| 116 | # |
| 117 | config GENERIC_ALLOCATOR |
| 118 | boolean |
| 119 | |
| 120 | # |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 121 | # reed solomon support is select'ed if needed |
| 122 | # |
| 123 | config REED_SOLOMON |
| 124 | tristate |
| 125 | |
| 126 | config REED_SOLOMON_ENC8 |
| 127 | boolean |
| 128 | |
| 129 | config REED_SOLOMON_DEC8 |
| 130 | boolean |
| 131 | |
| 132 | config REED_SOLOMON_ENC16 |
| 133 | boolean |
| 134 | |
| 135 | config REED_SOLOMON_DEC16 |
| 136 | boolean |
| 137 | |
David S. Miller | f770434 | 2005-06-24 17:39:03 -0700 | [diff] [blame] | 138 | # |
| 139 | # Textsearch support is select'ed if needed |
| 140 | # |
Thomas Graf | 2de4ff7 | 2005-06-23 20:49:30 -0700 | [diff] [blame] | 141 | config TEXTSEARCH |
David S. Miller | f770434 | 2005-06-24 17:39:03 -0700 | [diff] [blame] | 142 | boolean |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 143 | |
Thomas Graf | df3fb93 | 2005-06-23 20:58:37 -0700 | [diff] [blame] | 144 | config TEXTSEARCH_KMP |
David S. Miller | f770434 | 2005-06-24 17:39:03 -0700 | [diff] [blame] | 145 | tristate |
Thomas Graf | df3fb93 | 2005-06-23 20:58:37 -0700 | [diff] [blame] | 146 | |
Pablo Neira Ayuso | 8082e4e | 2005-08-25 16:12:22 -0700 | [diff] [blame] | 147 | config TEXTSEARCH_BM |
David S. Miller | 29cb9f9 | 2005-08-25 16:23:11 -0700 | [diff] [blame] | 148 | tristate |
Pablo Neira Ayuso | 8082e4e | 2005-08-25 16:12:22 -0700 | [diff] [blame] | 149 | |
Thomas Graf | 6408f79 | 2005-06-23 20:59:16 -0700 | [diff] [blame] | 150 | config TEXTSEARCH_FSM |
David S. Miller | f770434 | 2005-06-24 17:39:03 -0700 | [diff] [blame] | 151 | tristate |
Thomas Graf | 6408f79 | 2005-06-23 20:59:16 -0700 | [diff] [blame] | 152 | |
Al Viro | 5ea8176 | 2007-02-11 15:41:31 +0000 | [diff] [blame] | 153 | config HAS_IOMEM |
Al Viro | ee36c2b | 2006-12-13 00:35:00 -0800 | [diff] [blame] | 154 | boolean |
Al Viro | 5ea8176 | 2007-02-11 15:41:31 +0000 | [diff] [blame] | 155 | depends on !NO_IOMEM |
| 156 | default y |
| 157 | |
| 158 | config HAS_IOPORT |
| 159 | boolean |
| 160 | depends on HAS_IOMEM && !NO_IOPORT |
Al Viro | ee36c2b | 2006-12-13 00:35:00 -0800 | [diff] [blame] | 161 | default y |
| 162 | |
Heiko Carstens | 411f0f3 | 2007-05-06 14:49:09 -0700 | [diff] [blame] | 163 | config HAS_DMA |
| 164 | boolean |
| 165 | depends on !NO_DMA |
| 166 | default y |
| 167 | |
Geert Uytterhoeven | 928923c | 2007-08-22 14:01:36 -0700 | [diff] [blame] | 168 | config CHECK_SIGNATURE |
| 169 | bool |
| 170 | |
David S. Miller | d9b2b2a | 2008-02-13 16:56:49 -0800 | [diff] [blame] | 171 | config HAVE_LMB |
| 172 | boolean |
| 173 | |
Rusty Russell | aab46da | 2008-12-13 21:20:27 +1030 | [diff] [blame] | 174 | config CPUMASK_OFFSTACK |
| 175 | bool "Force CPU masks off stack" if DEBUG_PER_CPU_MAPS |
| 176 | help |
| 177 | Use dynamic allocation for cpumask_var_t, instead of putting |
| 178 | them on the stack. This is a bit more expensive, but avoids |
| 179 | stack overflow. |
| 180 | |
Rusty Russell | 8c384cd | 2009-01-01 10:12:30 +1030 | [diff] [blame] | 181 | config DISABLE_OBSOLETE_CPUMASK_FUNCTIONS |
| 182 | bool "Disable obsolete cpumask functions" if DEBUG_PER_CPU_MAPS |
| 183 | depends on EXPERIMENTAL && BROKEN |
| 184 | |
Geert Uytterhoeven | e9cc8bd | 2009-03-04 14:53:30 +0800 | [diff] [blame] | 185 | # |
| 186 | # Netlink attribute parsing support is select'ed if needed |
| 187 | # |
| 188 | config NLATTR |
| 189 | bool |
| 190 | |
Thomas Graf | 2de4ff7 | 2005-06-23 20:49:30 -0700 | [diff] [blame] | 191 | endmenu |