]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: crct10dif - Add fallback for broken initrds
authorHerbert Xu <herbert@gondor.apana.org.au>
Thu, 12 Sep 2013 05:31:34 +0000 (15:31 +1000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 12 Sep 2013 05:31:34 +0000 (15:31 +1000)
commit202e2e1ff0580c4ba1f262e7a93769c2a128bd8e
tree4a22e3a8ae9dde1f1cc14eaad48eae8ad542f86a
parent41f05134aeeef0cc990fce967275497e76fc10a8
crypto: crct10dif - Add fallback for broken initrds

Unfortunately, even with a softdep some distros fail to include
the necessary modules in the initrd.  Therefore this patch adds
a fallback path to restore existing behaviour where we cannot
load the new crypto crct10dif algorithm.

In order to do this, the underlying crct10dif has been split out
from the crypto implementation so that it can be used on the
fallback path.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/Makefile
crypto/crct10dif.c [deleted file]
crypto/crct10dif_common.c [new file with mode: 0644]
crypto/crct10dif_generic.c [new file with mode: 0644]
lib/crc-t10dif.c