From: Boris Ostrovsky Date: Thu, 16 Oct 2014 21:02:15 +0000 (-0400) Subject: x86/xen: Fix incorrect per_cpu accessor in xen_clocksource_read() X-Git-Tag: fixes-against-v3.18-rc2~10^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3251f20b897f955ab7f153181b4ebfbb2317cbb9;p=pandora-kernel.git 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 Signed-off-by: David Vrabel --- Reading git-diff-tree failed