aboutsummaryrefslogtreecommitdiffstats
path: root/arch/ia64/sn/kernel/xpc_partition.c
diff options
context:
space:
mode:
authorDean Nelson <dcn@sgi.com>2005-10-25 15:07:43 -0400
committerTony Luck <tony.luck@intel.com>2005-10-25 19:27:37 -0400
commite54af724c1ae3530c95135157776c9be65cdb747 (patch)
tree99623edaf5d8fb34c8b43cbd19cf3d7b47d8b8f8 /arch/ia64/sn/kernel/xpc_partition.c
parenta607c38971fd078865fa9bef39e6c1d4435680c8 (diff)
[IA64-SGI] fixes for XPC disengage and open/close protocol
This patch addresses a few issues with the open/close protocol that were revealed by the newly added disengage functionality combined with more extensive testing. Signed-off-by: Dean Nelson <dcn@sgi.com> Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'arch/ia64/sn/kernel/xpc_partition.c')
-rw-r--r--arch/ia64/sn/kernel/xpc_partition.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/ia64/sn/kernel/xpc_partition.c b/arch/ia64/sn/kernel/xpc_partition.c
index 79a0fc4c860c..958488f55699 100644
--- a/arch/ia64/sn/kernel/xpc_partition.c
+++ b/arch/ia64/sn/kernel/xpc_partition.c
@@ -578,7 +578,7 @@ xpc_update_partition_info(struct xpc_partition *part, u8 remote_rp_version,
578 578
579 579
580/* 580/*
581 * Prior code has determine the nasid which generated an IPI. Inspect 581 * Prior code has determined the nasid which generated an IPI. Inspect
582 * that nasid to determine if its partition needs to be activated or 582 * that nasid to determine if its partition needs to be activated or
583 * deactivated. 583 * deactivated.
584 * 584 *
@@ -942,14 +942,14 @@ xpc_deactivate_partition(const int line, struct xpc_partition *part,
942 942
943 /* set a timelimit on the disengage request */ 943 /* set a timelimit on the disengage request */
944 part->disengage_request_timeout = jiffies + 944 part->disengage_request_timeout = jiffies +
945 (XPC_DISENGAGE_REQUEST_TIMELIMIT * HZ); 945 (xpc_disengage_request_timelimit * HZ);
946 part->disengage_request_timer.expires = 946 part->disengage_request_timer.expires =
947 part->disengage_request_timeout; 947 part->disengage_request_timeout;
948 add_timer(&part->disengage_request_timer); 948 add_timer(&part->disengage_request_timer);
949 } 949 }
950 950
951 dev_dbg(xpc_part, "bringing partition %d down, reason = %d\n", partid, 951 dev_dbg(xpc_part, "bringing partition %d down, reason = %d\n",
952 reason); 952 XPC_PARTID(part), reason);
953 953
954 xpc_partition_going_down(part, reason); 954 xpc_partition_going_down(part, reason);
955} 955}