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 | # |
Jes Sorensen | f14f75b | 2005-06-21 17:15:02 -0700 | [diff] [blame] | 101 | # Generic allocator support is selected if needed |
| 102 | # |
| 103 | config GENERIC_ALLOCATOR |
| 104 | boolean |
| 105 | |
| 106 | # |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 107 | # reed solomon support is select'ed if needed |
| 108 | # |
| 109 | config REED_SOLOMON |
| 110 | tristate |
| 111 | |
| 112 | config REED_SOLOMON_ENC8 |
| 113 | boolean |
| 114 | |
| 115 | config REED_SOLOMON_DEC8 |
| 116 | boolean |
| 117 | |
| 118 | config REED_SOLOMON_ENC16 |
| 119 | boolean |
| 120 | |
| 121 | config REED_SOLOMON_DEC16 |
| 122 | boolean |
| 123 | |
David S. Miller | f770434 | 2005-06-24 17:39:03 -0700 | [diff] [blame] | 124 | # |
| 125 | # Textsearch support is select'ed if needed |
| 126 | # |
Thomas Graf | 2de4ff7 | 2005-06-23 20:49:30 -0700 | [diff] [blame] | 127 | config TEXTSEARCH |
David S. Miller | f770434 | 2005-06-24 17:39:03 -0700 | [diff] [blame] | 128 | boolean |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 129 | |
Thomas Graf | df3fb93 | 2005-06-23 20:58:37 -0700 | [diff] [blame] | 130 | config TEXTSEARCH_KMP |
David S. Miller | f770434 | 2005-06-24 17:39:03 -0700 | [diff] [blame] | 131 | tristate |
Thomas Graf | df3fb93 | 2005-06-23 20:58:37 -0700 | [diff] [blame] | 132 | |
Pablo Neira Ayuso | 8082e4e | 2005-08-25 16:12:22 -0700 | [diff] [blame] | 133 | config TEXTSEARCH_BM |
David S. Miller | 29cb9f9 | 2005-08-25 16:23:11 -0700 | [diff] [blame] | 134 | tristate |
Pablo Neira Ayuso | 8082e4e | 2005-08-25 16:12:22 -0700 | [diff] [blame] | 135 | |
Thomas Graf | 6408f79 | 2005-06-23 20:59:16 -0700 | [diff] [blame] | 136 | config TEXTSEARCH_FSM |
David S. Miller | f770434 | 2005-06-24 17:39:03 -0700 | [diff] [blame] | 137 | tristate |
Thomas Graf | 6408f79 | 2005-06-23 20:59:16 -0700 | [diff] [blame] | 138 | |
Ingo Molnar | 77ba89c | 2006-06-27 02:54:51 -0700 | [diff] [blame] | 139 | # |
| 140 | # plist support is select#ed if needed |
| 141 | # |
| 142 | config PLIST |
| 143 | boolean |
| 144 | |
Al Viro | 5ea8176 | 2007-02-11 15:41:31 +0000 | [diff] [blame] | 145 | config HAS_IOMEM |
Al Viro | ee36c2b | 2006-12-13 00:35:00 -0800 | [diff] [blame] | 146 | boolean |
Al Viro | 5ea8176 | 2007-02-11 15:41:31 +0000 | [diff] [blame] | 147 | depends on !NO_IOMEM |
| 148 | default y |
| 149 | |
| 150 | config HAS_IOPORT |
| 151 | boolean |
| 152 | depends on HAS_IOMEM && !NO_IOPORT |
Al Viro | ee36c2b | 2006-12-13 00:35:00 -0800 | [diff] [blame] | 153 | default y |
| 154 | |
Heiko Carstens | 411f0f3 | 2007-05-06 14:49:09 -0700 | [diff] [blame] | 155 | config HAS_DMA |
| 156 | boolean |
| 157 | depends on !NO_DMA |
| 158 | default y |
| 159 | |
Geert Uytterhoeven | 928923c | 2007-08-22 14:01:36 -0700 | [diff] [blame] | 160 | config CHECK_SIGNATURE |
| 161 | bool |
| 162 | |
David S. Miller | d9b2b2a | 2008-02-13 16:56:49 -0800 | [diff] [blame] | 163 | config HAVE_LMB |
| 164 | boolean |
| 165 | |
Rusty Russell | aab46da | 2008-12-13 21:20:27 +1030 | [diff] [blame] | 166 | config CPUMASK_OFFSTACK |
| 167 | bool "Force CPU masks off stack" if DEBUG_PER_CPU_MAPS |
| 168 | help |
| 169 | Use dynamic allocation for cpumask_var_t, instead of putting |
| 170 | them on the stack. This is a bit more expensive, but avoids |
| 171 | stack overflow. |
| 172 | |
Rusty Russell | 8c384cd | 2009-01-01 10:12:30 +1030 | [diff] [blame] | 173 | config DISABLE_OBSOLETE_CPUMASK_FUNCTIONS |
| 174 | bool "Disable obsolete cpumask functions" if DEBUG_PER_CPU_MAPS |
| 175 | depends on EXPERIMENTAL && BROKEN |
| 176 | |
Thomas Graf | 2de4ff7 | 2005-06-23 20:49:30 -0700 | [diff] [blame] | 177 | endmenu |