crypto: api - Move module sig ifdef into accessor function
authorHerbert Xu <herbert@gondor.apana.org.au>
Wed, 22 Apr 2015 03:28:46 +0000 (11:28 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 23 Apr 2015 06:18:07 +0000 (14:18 +0800)
commit59afdc7b32143528524455039e7557a46b60e4c8
treef188388b37d0d6d58191e177a16bb99990ede6f8
parent43a9607d86e8fb110b596d300dbaae895c198fed
crypto: api - Move module sig ifdef into accessor function

Currently we're hiding mod->sig_ok under an ifdef in open code.
This patch adds a module_sig_ok accessor function and removes that
ifdef.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Acked-by: Rusty Russell <rusty@rustcorp.com.au>
crypto/algapi.c
include/linux/module.h