]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
crypto: caam/qi - fix compilation with CONFIG_DEBUG_FORCE_WEAK_PER_CPU=y
authorHoria Geantă <horia.geanta@nxp.com>
Mon, 10 Jul 2017 05:40:29 +0000 (08:40 +0300)
committerSeth Forshee <seth.forshee@canonical.com>
Sun, 10 Sep 2017 23:08:47 +0000 (18:08 -0500)
commit52adee37d3a303cef36f2913b8e4dbb712b805d3
treef203c688edd4965d0dd7c15c3e8015342d70c306
parent73f697bd463e2560c47750d425ed93a34c69eb0b
crypto: caam/qi - fix compilation with CONFIG_DEBUG_FORCE_WEAK_PER_CPU=y

BugLink: http://bugs.launchpad.net/bugs/1716284
commit 1ed289f7b78c34565a33dbe6f8c482e71f493934 upstream.

caam/qi driver fails to compile when CONFIG_DEBUG_FORCE_WEAK_PER_CPU=y.
Fix it by making the offending local per_cpu variable global.

Fixes: 67c2315def06c ("crypto: caam - add Queue Interface (QI) backend support")
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Horia Geantă <horia.geanta@nxp.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
drivers/crypto/caam/qi.c