Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=4ca8ad7e4c38cd7f32b11e60418d06fa912a1a37
Commit:     4ca8ad7e4c38cd7f32b11e60418d06fa912a1a37
Parent:     304b46996ca1a989fe0fe99831ed38c79e855245
Author:     Russ Anderson <[EMAIL PROTECTED]>
AuthorDate: Thu Dec 20 17:46:52 2007 -0600
Committer:  Tony Luck <[EMAIL PROTECTED]>
CommitDate: Thu Jan 3 13:18:58 2008 -0800

    [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: 64135fa97ce016058f95345425a9ebd04ee1bd2a
    
    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: Russ Anderson ([EMAIL PROTECTED])
    Signed-off-by: Tony Luck <[EMAIL PROTECTED]>
---
 include/asm-ia64/sn/xpc.h |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/include/asm-ia64/sn/xpc.h b/include/asm-ia64/sn/xpc.h
index 8e5d7de..3c0900a 100644
--- a/include/asm-ia64/sn/xpc.h
+++ b/include/asm-ia64/sn/xpc.h
@@ -1211,11 +1211,13 @@ 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;
+               return xpcBteUnmappedError;
        }
        switch (error) {
        case BTE_SUCCESS:       return xpcSuccess;
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to