mirror of
https://github.com/torvalds/linux
synced 2024-11-05 18:23:50 +00:00
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>
This commit is contained in:
parent
761becff01
commit
af7cf25dd1
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue