From: Marc Zyngier Date: Mon, 4 Nov 2013 20:14:58 +0000 (+0000) Subject: arm64: fix access to preempt_count from assembly code X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~54^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=717321fcb58ed95169bf344ae47ac6098ba5dfbe;p=pandora-kernel.git arm64: fix access to preempt_count from assembly code preempt_count is defined as an int. Oddly enough, we access it as a 64bit value. Things become interesting when running a BE kernel, and looking at the current CPU number, which is stored as an int next to preempt_count. Like in a per-cpu interrupt handler, for example... Using a 32bit access fixes the issue for good. Cc: Matthew Leach Signed-off-by: Marc Zyngier Signed-off-by: Catalin Marinas --- Reading git-diff-tree failed