From: James Morris Date: Wed, 17 Aug 2011 00:34:33 +0000 (+1000) Subject: integrity: sparse fix: move iint_initialized to integrity.h X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=4892722e06694fda1928bac4aa5af5505bd26a4c;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git integrity: sparse fix: move iint_initialized to integrity.h Sparse fix: move iint_initialized to integrity.h Signed-off-by: James Morris --- diff --git a/security/integrity/ima/ima.h b/security/integrity/ima/ima.h index 29d97af5e9a4..3ccf7acac6df 100644 --- a/security/integrity/ima/ima.h +++ b/security/integrity/ima/ima.h @@ -37,7 +37,6 @@ enum tpm_pcrs { TPM_PCR0 = 0, TPM_PCR8 = 8 }; #define IMA_MEASURE_HTABLE_SIZE (1 << IMA_HASH_BITS) /* set during initialization */ -extern int iint_initialized; extern int ima_initialized; extern int ima_used_chip; extern char *ima_hash; diff --git a/security/integrity/integrity.h b/security/integrity/integrity.h index 880bbee2f534..3143a3c39868 100644 --- a/security/integrity/integrity.h +++ b/security/integrity/integrity.h @@ -45,3 +45,6 @@ struct integrity_iint_cache { */ struct integrity_iint_cache *integrity_iint_insert(struct inode *inode); struct integrity_iint_cache *integrity_iint_find(struct inode *inode); + +/* set during initialization */ +extern int iint_initialized;