sgi-xp: define xp_partition_id and xp_region_size
authorDean Nelson <dcn@sgi.com>
Wed, 5 Nov 2008 23:28:35 +0000 (17:28 -0600)
committerH. Peter Anvin <hpa@zytor.com>
Thu, 6 Nov 2008 04:32:21 +0000 (20:32 -0800)
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>
drivers/misc/sgi-xp/xp_uv.c

index c1bfec2..d238576 100644 (file)
@@ -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;