https://github.com/torvalds/linux
Revision 3251f20b897f955ab7f153181b4ebfbb2317cbb9 authored by Boris Ostrovsky on 16 October 2014, 21:02:15 UTC, committed by David Vrabel on 23 October 2014, 15:24:02 UTC
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>
1 parent 3a0e94f
History
Tip revision: 3251f20b897f955ab7f153181b4ebfbb2317cbb9 authored by Boris Ostrovsky on 16 October 2014, 21:02:15 UTC
x86/xen: Fix incorrect per_cpu accessor in xen_clocksource_read()
Tip revision: 3251f20
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 1.1 KB
.mailmap -rw-r--r-- 4.7 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 93.8 KB
Kbuild -rw-r--r-- 2.5 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 283.9 KB
Makefile -rw-r--r-- 53.1 KB
README -rw-r--r-- 18.3 KB
REPORTING-BUGS -rw-r--r-- 7.3 KB

README

back to top