aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Kconfig
diff options
context:
space:
mode:
authorDavid Miller <davem@davemloft.net>2012-02-01 17:17:54 -0500
committerJames Morris <jmorris@namei.org>2012-02-01 18:34:23 -0500
commitc6df4b17c8539f737a6a2d7b797eac41e8e34cdc (patch)
tree7b891178267aa9486fed1197419aac57d3036b5f /lib/Kconfig
parent86f8bedc9e1a8ddb4f1d9ff1f0c1229cc0797d6d (diff)
lib: Fix multiple definitions of clz_tab
Both sparc 32-bit's software divide assembler and MPILIB provide clz_tab[] with identical contents. Break it out into a seperate object file and select it when SPARC32 or MPILIB is set. Reported-by: Al Viro <viro@ZenIV.linux.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'lib/Kconfig')
-rw-r--r--lib/Kconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Kconfig b/lib/Kconfig
index 169eb7c598e5..d69d321a0997 100644
--- a/lib/Kconfig
+++ b/lib/Kconfig
@@ -279,6 +279,9 @@ config AVERAGE
279 279
280 If unsure, say N. 280 If unsure, say N.
281 281
282config CLZ_TAB
283 bool
284
282config CORDIC 285config CORDIC
283 tristate "CORDIC algorithm" 286 tristate "CORDIC algorithm"
284 help 287 help
@@ -287,6 +290,7 @@ config CORDIC
287 290
288config MPILIB 291config MPILIB
289 tristate 292 tristate
293 select CLZ_TAB
290 help 294 help
291 Multiprecision maths library from GnuPG. 295 Multiprecision maths library from GnuPG.
292 It is used to implement RSA digital signature verification, 296 It is used to implement RSA digital signature verification,