From 909633957d85561dab7655d69a9d17dd16231d92 Mon Sep 17 00:00:00 2001 From: Will Deacon Date: Tue, 25 Nov 2014 10:05:35 +0000 Subject: [PATCH] arm64: fix return code check when changing emulation handler update_insn_emulation_mode() returns 0 on success, so we should be treating any non-zero values as failure, rather than the other way around. Otherwise, writes to the sysctl file controlling the emulation are ignored and immediately rolled back. Reported-by: Gene Hackmann Signed-off-by: Will Deacon --- Reading git-format-patch failed