+ if (need_lock)
+ mutex_unlock(&shared_file_header->lock);
+}
+
+/*
+ * Symbol compatability; we believe shared_region_mapping_dealloc() is the
+ * only caller. Remove this stub function and the corresponding symbol
+ * export for Merlot.
+ */
+load_struct_t *
+lsf_remove_regions_mappings(
+ shared_region_mapping_t region,
+ shared_region_task_mappings_t sm_info)
+{
+ return lsf_remove_regions_mappings_lock(region, sm_info, 1);