summaryrefslogtreecommitdiff
path: root/include/linux/mdev.h
diff options
context:
space:
mode:
authorDaniel Axtens <dja@axtens.net>2017-03-15 15:37:34 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2017-03-24 17:02:52 +0300
commitde696a26435ae50f06fd913bc84e0bf602caee1f (patch)
tree5ea7e797a6d0bdad8b4b2194bf5152c7b83c48d5 /include/linux/mdev.h
parent2e6d603e5163e6f32a8686744b4d53e8778957ba (diff)
downloadlinux-de696a26435ae50f06fd913bc84e0bf602caee1f.tar.xz
crypto: powerpc - Factor out the core CRC vpmsum algorithm
The core nuts and bolts of the crc32c vpmsum algorithm will also work for a number of other CRC algorithms with different polynomials. Factor out the function into a new asm file. To handle multiple users of the function, a user simply provides constants, defines the name of their CRC function, and then #includes the core algorithm file. Cc: Anton Blanchard <anton@samba.org> Signed-off-by: Daniel Axtens <dja@axtens.net> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'include/linux/mdev.h')
0 files changed, 0 insertions, 0 deletions