Commit af7cf25dd15b74a78bff8ed5dc969b20dae9554d
Committed by
NeilBrown
1 parent
761becff01
Exists in
master
and in
20 other branches
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>
Showing 1 changed file with 2 additions and 2 deletions Side-by-side Diff
crypto/xor.c
... | ... | @@ -56,11 +56,11 @@ |
56 | 56 | EXPORT_SYMBOL(xor_blocks); |
57 | 57 | |
58 | 58 | /* Set of all registered templates. */ |
59 | -static struct xor_block_template *template_list; | |
59 | +static struct xor_block_template *__initdata template_list; | |
60 | 60 | |
61 | 61 | #define BENCH_SIZE (PAGE_SIZE) |
62 | 62 | |
63 | -static void | |
63 | +static void __init | |
64 | 64 | do_xor_speed(struct xor_block_template *tmpl, void *b1, void *b2) |
65 | 65 | { |
66 | 66 | int speed; |