backports: add fixed version of __verify_pcpu_ptr
authorJohannes Berg <johannes.berg@intel.com>
Fri, 13 Oct 2017 10:03:58 +0000 (12:03 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 13 Oct 2017 13:29:52 +0000 (15:29 +0200)
commit43158d9e744e8012e28fecdb4d317d391a1db8ff
tree5ca0cc41954bacf6f681e0f2d1cc0ffe3c2bc146
parenta0d05f9f9ca50ea8b1d60726fac6b54167257e76
backports: add fixed version of __verify_pcpu_ptr

Some parts of the code (ath_cmn_is_fft_buf_full) use a per-CPU
pointer to an array, so we need to backport the fixed version
or this fails to compile in 3.10/3.11.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
backport/backport-include/linux/percpu-defs.h [new file with mode: 0644]