[PATCH LSK-v3.18 11/27] arm64: fix return code check when changing emulation handler