diff --git a/include/linux/module.h b/include/linux/module.h index 9bfcd57aadef..1c513aefb788 100644 --- a/include/linux/module.h +++ b/include/linux/module.h @@ -377,10 +377,12 @@ struct module { const s32 *unused_gpl_crcs; #endif -#ifdef CONFIG_MODULE_SIG - /* Signature was verified. */ + /* + * Signature was verified. Unconditionally compiled in Android to + * preserve ABI compatibility between kernels without module + * signing enabled and signed modules. + */ bool sig_ok; -#endif bool async_probe_requested;