From: Herbert Xu Date: Fri, 19 Aug 2011 08:11:23 +0000 (+0800) Subject: crypto: cryptd - Use subsys_initcall to prevent races with aesni X-Git-Tag: v3.2-rc1~105^2~38 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b2bac6acf86d05d8af0499f37d91ecac15722803;p=pandora-kernel.git crypto: cryptd - Use subsys_initcall to prevent races with aesni As cryptd is depeneded on by other algorithms such as aesni-intel, it needs to be registered before them. When everything is built as modules, this occurs naturally. However, for this to work when they are built-in, we need to use subsys_initcall in cryptd. Tested-by: Josh Boyer Signed-off-by: Herbert Xu --- Reading git-diff-tree failed