Browse Source

sgi-xp: define xp_partition_id and xp_region_size

Define xp_partition_id and xp_region_size to their correct values.

Signed-off-by: Dean Nelson <dcn@sgi.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Dean Nelson 16 years ago
parent
commit
31de5ece35
1 changed files with 2 additions and 2 deletions
  1. 2 2
      drivers/misc/sgi-xp/xp_uv.c

+ 2 - 2
drivers/misc/sgi-xp/xp_uv.c

@@ -119,8 +119,8 @@ xp_init_uv(void)
 	BUG_ON(!is_uv());
 
 	xp_max_npartitions = XP_MAX_NPARTITIONS_UV;
-	xp_partition_id = 0;	/* !!! not correct value */
-	xp_region_size = 0;	/* !!! not correct value */
+	xp_partition_id = sn_partition_id;
+	xp_region_size = sn_region_size;
 
 	xp_pa = xp_pa_uv;
 	xp_remote_memcpy = xp_remote_memcpy_uv;