em_table_free(old_table);
mutex_unlock(&em_pd_mutex);
+
+ em_notify_pd_updated(pd);
return 0;
}
EXPORT_SYMBOL_GPL(em_dev_update_perf_domain);
list_add_tail(&dev->em_pd->node, &em_pd_list);
mutex_unlock(&em_pd_list_mutex);
+ em_notify_pd_created(dev->em_pd);
return ret;
}
EXPORT_SYMBOL_GPL(em_dev_register_pd_no_update);
list_del_init(&dev->em_pd->node);
mutex_unlock(&em_pd_list_mutex);
+ em_notify_pd_deleted(dev->em_pd);
+
/*
* The mutex separates all register/unregister requests and protects
* from potential clean-up/setup issues in the debugfs directories.