/* Returns the version numbers, identifiers, and capabilities from the processor module.  */
int pdc_model_info(struct pdc_model *model)
/* Returns the version numbers, identifiers, and capabilities from the processor module.  */
int pdc_model_info(struct pdc_model *model)
{
	int retval;
	unsigned long flags;
	spin_lock_irqsave(&pdc_lock, flags);
	retval = mem_pdc_call(PDC_MODEL, PDC_MODEL_INFO, __pa(pdc_result), 0);
	convert_to_wide(pdc_result);
	memcpy(model, pdc_result, sizeof(*model));
	spin_unlock_irqrestore(&pdc_lock, flags);
	return retval;
}