diff --git a/crypto/crypto_null.c b/crypto/crypto_null.c index 337867028653..3170e2fdcfd3 100644 --- a/crypto/crypto_null.c +++ b/crypto/crypto_null.c @@ -17,7 +17,11 @@ #include #include #include +#ifdef __GENKSYMS__ // CRC fix for e307c54ac819 ("crypto: null - Use spin lock instead of mutex") +#include +#else #include +#endif #include static DEFINE_SPINLOCK(crypto_default_null_skcipher_lock);