/* ps3_repository_read_num_spu_reserved - Number of physical spus reserved. @num_spu: Number of physical spus.  */
int ps3_repository_read_num_spu_reserved(unsigned int *num_spu_reserved)
/* ps3_repository_read_num_spu_reserved - Number of physical spus reserved. @num_spu: Number of physical spus.  */
int ps3_repository_read_num_spu_reserved(unsigned int *num_spu_reserved)
{
	int result;
	u64 v1;
	result = read_node(PS3_LPAR_ID_CURRENT,
		make_first_field("bi", 0),
		make_field("spun", 0),
		0, 0,
		&v1, NULL);
	*num_spu_reserved = v1;
	return result;
}