diff options
author | Dean Nelson <dcn@sgi.com> | 2005-10-25 15:09:51 -0400 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2005-10-25 19:32:39 -0400 |
commit | 4b38fcd4858204cb3667eb7b3aca48ffb1002f05 (patch) | |
tree | 2125f5d9689e5bdc64ce2e4f35d8a8220c2e0054 /arch/ia64/sn/kernel/xpc_main.c | |
parent | e54af724c1ae3530c95135157776c9be65cdb747 (diff) |
[IA64-SGI] XPC changes to support more than 2k nasids
XPC needs to be changed to support up to 16k nasids on an SGI Altix system.
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_main.c')
-rw-r--r-- | arch/ia64/sn/kernel/xpc_main.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/ia64/sn/kernel/xpc_main.c b/arch/ia64/sn/kernel/xpc_main.c index db349c6d4c58..38f2c699192c 100644 --- a/arch/ia64/sn/kernel/xpc_main.c +++ b/arch/ia64/sn/kernel/xpc_main.c | |||
@@ -1049,11 +1049,11 @@ xpc_init(void) | |||
1049 | 1049 | ||
1050 | /* | 1050 | /* |
1051 | * xpc_remote_copy_buffer is used as a temporary buffer for bte_copy'ng | 1051 | * xpc_remote_copy_buffer is used as a temporary buffer for bte_copy'ng |
1052 | * both a partition's reserved page and its XPC variables. Its size was | 1052 | * various portions of a partition's reserved page. Its size is based |
1053 | * based on the size of a reserved page. So we need to ensure that the | 1053 | * on the size of the reserved page header and part_nasids mask. So we |
1054 | * XPC variables will fit as well. | 1054 | * need to ensure that the other items will fit as well. |
1055 | */ | 1055 | */ |
1056 | if (XPC_VARS_ALIGNED_SIZE > XPC_RSVD_PAGE_ALIGNED_SIZE) { | 1056 | if (XPC_RP_VARS_SIZE > XPC_RP_HEADER_SIZE + XP_NASID_MASK_BYTES) { |
1057 | dev_err(xpc_part, "xpc_remote_copy_buffer is not big enough\n"); | 1057 | dev_err(xpc_part, "xpc_remote_copy_buffer is not big enough\n"); |
1058 | return -EPERM; | 1058 | return -EPERM; |
1059 | } | 1059 | } |