diff options
author | Jan Beulich <JBeulich@suse.com> | 2012-10-11 13:42:32 +1100 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2012-10-11 13:42:32 +1100 |
commit | 08381d8531a704866e99517f2add8420d154bc51 (patch) | |
tree | 111b5c6df09be1242728f875e15f616dbc8dfddf | |
parent | 39c69fd2df9dab1f666478e1ecce15744cf02a3e (diff) | |
download | linux-crypto-08381d8531a704866e99517f2add8420d154bc51.tar.gz linux-crypto-08381d8531a704866e99517f2add8420d154bc51.zip |
add further __init annotations to crypto/xor.c
Allow particularly do_xor_speed() to be discarded post-init.
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to '')
-rw-r--r-- | crypto/xor.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/xor.c b/crypto/xor.c index 65c7b416..35d6b3ad 100644 --- a/crypto/xor.c +++ b/crypto/xor.c @@ -56,11 +56,11 @@ xor_blocks(unsigned int src_count, unsigned int bytes, void *dest, void **srcs) EXPORT_SYMBOL(xor_blocks); /* Set of all registered templates. */ -static struct xor_block_template *template_list; +static struct xor_block_template *__initdata template_list; #define BENCH_SIZE (PAGE_SIZE) -static void +static void __init do_xor_speed(struct xor_block_template *tmpl, void *b1, void *b2) { int speed; |