summaryrefslogtreecommitdiff
path: root/crypto/Makefile
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2007-07-09 11:56:42 -0700
committerDan Williams <dan.j.williams@intel.com>2007-07-13 08:06:14 -0700
commit7e22d8544459ed010bd87daf3c3b86ce9afe4dc3 (patch)
tree66d59482401a384fecdc95a06c488c88f3dd7f59 /crypto/Makefile
parentc49083482e59fb26b3c9d773dcc327f35a27d987 (diff)
downloadlinux-crypto-7e22d8544459ed010bd87daf3c3b86ce9afe4dc3.tar.gz
linux-crypto-7e22d8544459ed010bd87daf3c3b86ce9afe4dc3.zip
xor: make 'xor_blocks' a library routine for use with async_tx
The async_tx api tries to use a dma engine for an operation, but will fall back to an optimized software routine otherwise. Xor support is implemented using the raid5 xor routines. For organizational purposes this routine is moved to a common area. The following fixes are also made: * rename xor_block => xor_blocks, suggested by Adrian Bunk * ensure that xor.o initializes before md.o in the built-in case * checkpatch.pl fixes * mark calibrate_xor_blocks __init, Adrian Bunk Cc: Adrian Bunk <bunk@stusta.de> Cc: NeilBrown <neilb@suse.de> Cc: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'crypto/Makefile')
-rw-r--r--crypto/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/crypto/Makefile b/crypto/Makefile
index cce46a1c..68e934b4 100644
--- a/crypto/Makefile
+++ b/crypto/Makefile
@@ -50,3 +50,9 @@ obj-$(CONFIG_CRYPTO_MICHAEL_MIC) += michael_mic.o
obj-$(CONFIG_CRYPTO_CRC32C) += crc32c.o
obj-$(CONFIG_CRYPTO_TEST) += tcrypt.o
+
+#
+# generic algorithms and the async_tx api
+#
+obj-$(CONFIG_XOR_BLOCKS) += xor.o
+