summaryrefslogtreecommitdiff
path: root/arch/powerpc/crypto
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2025-04-17 20:59:09 -0700
committerHerbert Xu <herbert@gondor.apana.org.au>2025-04-19 11:18:28 +0800
commit8821d26926ea6c1115974a989ec5a467da402f4f (patch)
tree8f0276b1e7b852ea222f52e8d868bbdb13528976 /arch/powerpc/crypto
parent31b20bc22f6897a881059c0c85635966e0fd23a5 (diff)
downloadlinux-next-8821d26926ea6c1115974a989ec5a467da402f4f.tar.gz
linux-next-8821d26926ea6c1115974a989ec5a467da402f4f.zip
crypto: lib/chacha - restore ability to remove modules
Though the module_exit functions are now no-ops, they should still be defined, since otherwise the modules become unremovable. Fixes: 08820553f33a ("crypto: arm/chacha - remove the redundant skcipher algorithms") Fixes: 8c28abede16c ("crypto: arm64/chacha - remove the skcipher algorithms") Fixes: f7915484c020 ("crypto: powerpc/chacha - remove the skcipher algorithms") Fixes: ceba0eda8313 ("crypto: riscv/chacha - implement library instead of skcipher") Fixes: 632ab0978f08 ("crypto: x86/chacha - remove the skcipher algorithms") Signed-off-by: Eric Biggers <ebiggers@google.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'arch/powerpc/crypto')
-rw-r--r--arch/powerpc/crypto/chacha-p10-glue.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/powerpc/crypto/chacha-p10-glue.c b/arch/powerpc/crypto/chacha-p10-glue.c
index 9982929573ad..351ed409f9b2 100644
--- a/arch/powerpc/crypto/chacha-p10-glue.c
+++ b/arch/powerpc/crypto/chacha-p10-glue.c
@@ -89,6 +89,11 @@ static int __init chacha_p10_init(void)
}
arch_initcall(chacha_p10_init);
+static void __exit chacha_p10_exit(void)
+{
+}
+module_exit(chacha_p10_exit);
+
MODULE_DESCRIPTION("ChaCha stream cipher (P10 accelerated)");
MODULE_AUTHOR("Danny Tsen <dtsen@linux.ibm.com>");
MODULE_LICENSE("GPL v2");