Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | # |
| 2 | # Library configuration |
| 3 | # |
| 4 | |
Lai Jiangshan | 4370aa4 | 2009-03-06 17:21:46 +0100 | [diff] [blame^] | 5 | config BINARY_PRINTF |
| 6 | def_bool n |
| 7 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 8 | menu "Library routines" |
| 9 | |
Akinobu Mita | a5cfc1e | 2006-12-08 02:36:25 -0800 | [diff] [blame] | 10 | config BITREVERSE |
| 11 | tristate |
| 12 | |
Alexander van Heukelum | 19870de | 2008-04-25 13:12:53 +0200 | [diff] [blame] | 13 | config GENERIC_FIND_FIRST_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 | |
| 16 | config GENERIC_FIND_NEXT_BIT |
Jan Beulich | 9ba1608 | 2008-10-15 22:01:38 -0700 | [diff] [blame] | 17 | bool |
Alexander van Heukelum | 19870de | 2008-04-25 13:12:53 +0200 | [diff] [blame] | 18 | |
Rusty Russell | ab53d47 | 2009-01-01 10:12:19 +1030 | [diff] [blame] | 19 | config GENERIC_FIND_LAST_BIT |
| 20 | bool |
| 21 | default y |
| 22 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 23 | config 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 Polyakov | 7657ec1 | 2005-08-17 15:17:26 +0400 | [diff] [blame] | 31 | config 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. Petersen | f11f594 | 2008-06-25 11:22:42 -0400 | [diff] [blame] | 39 | config 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 Doorn | 3e7cbae | 2006-06-12 16:17:04 +0200 | [diff] [blame] | 46 | config 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 Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 54 | config CRC32 |
| 55 | tristate "CRC32 functions" |
| 56 | default y |
Akinobu Mita | 906d66d | 2006-12-08 02:36:25 -0800 | [diff] [blame] | 57 | select BITREVERSE |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 58 | 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 Nikitenko | ad24152 | 2007-07-17 04:04:03 -0700 | [diff] [blame] | 64 | config 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 Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 72 | config LIBCRC32C |
| 73 | tristate "CRC32c (Castagnoli, et al) Cyclic Redundancy-Check" |
Herbert Xu | 9302735 | 2008-11-13 22:05:13 +0800 | [diff] [blame] | 74 | select CRYPTO |
Herbert Xu | 69c35ef | 2008-11-07 15:11:47 +0800 | [diff] [blame] | 75 | select CRYPTO_CRC32C |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 76 | 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 Viro | e65e1fc | 2006-09-12 03:04:40 -0400 | [diff] [blame] | 83 | config AUDIT_GENERIC |
| 84 | bool |
| 85 | depends on AUDIT && !AUDIT_ARCH |
| 86 | default y |
| 87 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 88 | # |
| 89 | # compression support is select'ed if needed |
| 90 | # |
| 91 | config ZLIB_INFLATE |
| 92 | tristate |
| 93 | |
| 94 | config ZLIB_DEFLATE |
| 95 | tristate |
| 96 | |
Richard Purdie | 64c70b1 | 2007-07-10 17:22:24 -0700 | [diff] [blame] | 97 | config LZO_COMPRESS |
| 98 | tristate |
| 99 | |
| 100 | config LZO_DECOMPRESS |
| 101 | tristate |
| 102 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 103 | # |
Jes Sorensen | f14f75b | 2005-06-21 17:15:02 -0700 | [diff] [blame] | 104 | # Generic allocator support is selected if needed |
| 105 | # |
| 106 | config GENERIC_ALLOCATOR |
| 107 | boolean |
| 108 | |
| 109 | # |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 110 | # reed solomon support is select'ed if needed |
| 111 | # |
| 112 | config REED_SOLOMON |
| 113 | tristate |
| 114 | |
| 115 | config REED_SOLOMON_ENC8 |
| 116 | boolean |
| 117 | |
| 118 | config REED_SOLOMON_DEC8 |
| 119 | boolean |
| 120 | |
| 121 | config REED_SOLOMON_ENC16 |
| 122 | boolean |
| 123 | |
| 124 | config REED_SOLOMON_DEC16 |
| 125 | boolean |
| 126 | |
David S. Miller | f770434 | 2005-06-24 17:39:03 -0700 | [diff] [blame] | 127 | # |
| 128 | # Textsearch support is select'ed if needed |
| 129 | # |
Thomas Graf | 2de4ff7 | 2005-06-23 20:49:30 -0700 | [diff] [blame] | 130 | config TEXTSEARCH |
David S. Miller | f770434 | 2005-06-24 17:39:03 -0700 | [diff] [blame] | 131 | boolean |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 132 | |
Thomas Graf | df3fb93 | 2005-06-23 20:58:37 -0700 | [diff] [blame] | 133 | config TEXTSEARCH_KMP |
David S. Miller | f770434 | 2005-06-24 17:39:03 -0700 | [diff] [blame] | 134 | tristate |
Thomas Graf | df3fb93 | 2005-06-23 20:58:37 -0700 | [diff] [blame] | 135 | |
Pablo Neira Ayuso | 8082e4e | 2005-08-25 16:12:22 -0700 | [diff] [blame] | 136 | config TEXTSEARCH_BM |
David S. Miller | 29cb9f9 | 2005-08-25 16:23:11 -0700 | [diff] [blame] | 137 | tristate |
Pablo Neira Ayuso | 8082e4e | 2005-08-25 16:12:22 -0700 | [diff] [blame] | 138 | |
Thomas Graf | 6408f79 | 2005-06-23 20:59:16 -0700 | [diff] [blame] | 139 | config TEXTSEARCH_FSM |
David S. Miller | f770434 | 2005-06-24 17:39:03 -0700 | [diff] [blame] | 140 | tristate |
Thomas Graf | 6408f79 | 2005-06-23 20:59:16 -0700 | [diff] [blame] | 141 | |
Ingo Molnar | 77ba89c | 2006-06-27 02:54:51 -0700 | [diff] [blame] | 142 | # |
| 143 | # plist support is select#ed if needed |
| 144 | # |
| 145 | config PLIST |
| 146 | boolean |
| 147 | |
Al Viro | 5ea8176 | 2007-02-11 15:41:31 +0000 | [diff] [blame] | 148 | config HAS_IOMEM |
Al Viro | ee36c2b | 2006-12-13 00:35:00 -0800 | [diff] [blame] | 149 | boolean |
Al Viro | 5ea8176 | 2007-02-11 15:41:31 +0000 | [diff] [blame] | 150 | depends on !NO_IOMEM |
| 151 | default y |
| 152 | |
| 153 | config HAS_IOPORT |
| 154 | boolean |
| 155 | depends on HAS_IOMEM && !NO_IOPORT |
Al Viro | ee36c2b | 2006-12-13 00:35:00 -0800 | [diff] [blame] | 156 | default y |
| 157 | |
Heiko Carstens | 411f0f3 | 2007-05-06 14:49:09 -0700 | [diff] [blame] | 158 | config HAS_DMA |
| 159 | boolean |
| 160 | depends on !NO_DMA |
| 161 | default y |
| 162 | |
Geert Uytterhoeven | 928923c | 2007-08-22 14:01:36 -0700 | [diff] [blame] | 163 | config CHECK_SIGNATURE |
| 164 | bool |
| 165 | |
David S. Miller | d9b2b2a | 2008-02-13 16:56:49 -0800 | [diff] [blame] | 166 | config HAVE_LMB |
| 167 | boolean |
| 168 | |
Rusty Russell | aab46da | 2008-12-13 21:20:27 +1030 | [diff] [blame] | 169 | config 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 Russell | 8c384cd | 2009-01-01 10:12:30 +1030 | [diff] [blame] | 176 | config DISABLE_OBSOLETE_CPUMASK_FUNCTIONS |
| 177 | bool "Disable obsolete cpumask functions" if DEBUG_PER_CPU_MAPS |
| 178 | depends on EXPERIMENTAL && BROKEN |
| 179 | |
Thomas Graf | 2de4ff7 | 2005-06-23 20:49:30 -0700 | [diff] [blame] | 180 | endmenu |