sgi-xp: define xp_partition_id and xp_region_size
Dean Nelson [Wed, 5 Nov 2008 23:28:35 +0000 (17:28 -0600)]
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;