[PATCH 07/38] arm64: entry.S: move SError handling into a C function for future expansion