X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=crypto%2Fxor.c;h=35d6b3adf2308fbb4ab2bd7d3358b8328bff8936;hb=c8c6c9ba39e3fe65cf3497d692bf6fe808ff222b;hp=65c7b416b4a3e4d9e2ad08c41a1fcec06e222f8e;hpb=f9cd49033b349b8be3bb1f01b39eed837853d880;p=firefly-linux-kernel-4.4.55.git diff --git a/crypto/xor.c b/crypto/xor.c index 65c7b416b4a3..35d6b3adf230 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;