/* ps3_repository_read_num_spu_resource_id - Number of spu resource reservations. @num_resource_id: Number of spu resource ids.  */
int ps3_repository_read_num_spu_resource_id(unsigned int *num_resource_id)
/* ps3_repository_read_num_spu_resource_id - Number of spu resource reservations. @num_resource_id: Number of spu resource ids.  */
int ps3_repository_read_num_spu_resource_id(unsigned int *num_resource_id)
{
	int result;
	u64 v1;
	result = read_node(PS3_LPAR_ID_CURRENT,
		make_first_field("bi", 0),
		make_field("spursvn", 0),
		0, 0,
		&v1, NULL);
	*num_resource_id = v1;
	return result;
}