/* Free vm_structs and the array allocated by pcpu_get_vm_areas().  */
void pcpu_free_vm_areas(struct vm_struct **vms, int nr_vms)
/* Free vm_structs and the array allocated by pcpu_get_vm_areas().  */
void pcpu_free_vm_areas(struct vm_struct **vms, int nr_vms)
{
	int i;
	for (i = 0; i < nr_vms; i++)
		free_vm_area(vms[i]);
	kfree(vms);
}