diff options
author | Darrick J. Wong <djwong@us.ibm.com> | 2012-03-23 18:02:25 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-03-23 19:58:38 -0400 |
commit | 46c5801eaf86e83cb3a4142ad35188db5011fff0 (patch) | |
tree | 2b8a8f7709aa7dadafdf13f823488cf51e2e2fed /lib/Kconfig | |
parent | 78dff4189708d07cdcaf7bfd1b04ebe78ac9c041 (diff) |
crc32: bolt on crc32c
Reuse the existing crc32 code to stamp out a crc32c implementation.
Signed-off-by: Darrick J. Wong <djwong@us.ibm.com>
Cc: Herbert Xu <herbert@gondor.apana.org.au>
Cc: Bob Pearson <rpearson@systemfabricworks.com>
Cc: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/Kconfig')
-rw-r--r-- | lib/Kconfig | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/Kconfig b/lib/Kconfig index d5a86aa441ac..6d7ce4b138c4 100644 --- a/lib/Kconfig +++ b/lib/Kconfig | |||
@@ -61,14 +61,14 @@ config CRC_ITU_T | |||
61 | functions require M here. | 61 | functions require M here. |
62 | 62 | ||
63 | config CRC32 | 63 | config CRC32 |
64 | tristate "CRC32 functions" | 64 | tristate "CRC32/CRC32c functions" |
65 | default y | 65 | default y |
66 | select BITREVERSE | 66 | select BITREVERSE |
67 | help | 67 | help |
68 | This option is provided for the case where no in-kernel-tree | 68 | This option is provided for the case where no in-kernel-tree |
69 | modules require CRC32 functions, but a module built outside the | 69 | modules require CRC32/CRC32c functions, but a module built outside |
70 | kernel tree does. Such modules that use library CRC32 functions | 70 | the kernel tree does. Such modules that use library CRC32/CRC32c |
71 | require M here. | 71 | functions require M here. |
72 | 72 | ||
73 | config CRC32_SELFTEST | 73 | config CRC32_SELFTEST |
74 | bool "CRC32 perform self test on init" | 74 | bool "CRC32 perform self test on init" |