diff options
author | Boris Ostrovsky <boris.ostrovsky@oracle.com> | 2014-10-16 23:02:15 +0200 |
---|---|---|
committer | David Vrabel <david.vrabel@citrix.com> | 2014-10-23 17:24:02 +0200 |
commit | 3251f20b897f955ab7f153181b4ebfbb2317cbb9 (patch) | |
tree | c08c297c9d1d03dc915b567a9788e77523555143 /block/bio-integrity.c | |
parent | x86/xen: avoid race in p2m handling (diff) | |
download | linux-3251f20b897f955ab7f153181b4ebfbb2317cbb9.tar.xz linux-3251f20b897f955ab7f153181b4ebfbb2317cbb9.zip |
x86/xen: Fix incorrect per_cpu accessor in xen_clocksource_read()
Commit 89cbc76768c2 ("x86: Replace __get_cpu_var uses") replaced
__get_cpu_var() with this_cpu_ptr() in xen_clocksource_read() in such a
way that instead of accessing a structure pointed to by a per-cpu pointer
we are trying to get to a per-cpu structure.
__this_cpu_read() of the pointer is the more appropriate accessor.
Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Diffstat (limited to 'block/bio-integrity.c')
0 files changed, 0 insertions, 0 deletions