summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2010-02-02 14:39:15 +0900
committerTejun Heo <tj@kernel.org>2010-02-17 11:17:38 +0900
commit2650723ef7b19dcccbac50cc235036936fff9687 (patch)
treeca0a55c6f811f502130e046825db87e6af19488a
parent39fa904443d5fef09dfeb90b94ec9892a5a96a35 (diff)
downloadlinux-crypto-2650723ef7b19dcccbac50cc235036936fff9687.tar.gz
linux-crypto-2650723ef7b19dcccbac50cc235036936fff9687.zip
percpu: add __percpu sparse annotations to what's left
Add __percpu sparse annotations to places which didn't make it in one of the previous patches. All converions are trivial. These annotations are to make sparse consider percpu variables to be in a different address space and warn if accessed without going through percpu accessors. This patch doesn't affect normal builds. Signed-off-by: Tejun Heo <tj@kernel.org> Acked-by: Borislav Petkov <borislav.petkov@amd.com> Cc: Dan Williams <dan.j.williams@intel.com> Cc: Huang Ying <ying.huang@intel.com> Cc: Len Brown <lenb@kernel.org> Cc: Neil Brown <neilb@suse.de>
-rw-r--r--crypto/cryptd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/cryptd.c b/crypto/cryptd.c
index 704c1411..ef713189 100644
--- a/crypto/cryptd.c
+++ b/crypto/cryptd.c
@@ -31,7 +31,7 @@ struct cryptd_cpu_queue {
};
struct cryptd_queue {
- struct cryptd_cpu_queue *cpu_queue;
+ struct cryptd_cpu_queue __percpu *cpu_queue;
};
struct cryptd_instance_ctx {