Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4ca8ad7e authored by Russ Anderson's avatar Russ Anderson Committed by Tony Luck
Browse files

[IA64] Update Altix BTE error return status patch



I neglected to send Tony the most recent version of the
patch ("Fix Altix BTE error return status") applied
as commit: 64135fa9

This patch gets it up to date.  Without this patch
on shub2, if there is no error xpcBteUnmappedError is
returned instead of xpcSuccess.

Signed-off-by: default avatarRuss Anderson <(rja@sgi.com)>
Signed-off-by: default avatarTony Luck <tony.luck@intel.com>
parent 304b4699
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -1211,10 +1211,12 @@ xpc_IPI_init(int index)
static inline enum xpc_retval
xpc_map_bte_errors(bte_result_t error)
{
	if (error == BTE_SUCCESS)
		return xpcSuccess;

	if (is_shub2()) {
		if (BTE_VALID_SH2_ERROR(error))
			return xpcBteSh2Start + error;
		else
		return xpcBteUnmappedError;
	}
	switch (error) {