ANDROID: mutex: Add vendor hook to init mutex oem data.

Add hooks to init oem data of mutex.

Bug: 231527236
Signed-off-by: Dezhi Huang <huangdezhi@hihonor.com>
Change-Id: Id0aeac168e81bd3d88051657c32ba709c329dbdd
This commit is contained in:
Dezhi Huang
2022-06-10 18:19:34 +08:00
committed by Treehugger Robot
parent 07b9faefd4
commit bcf27b22e4
3 changed files with 5 additions and 0 deletions

View File

@@ -55,6 +55,7 @@ __mutex_init(struct mutex *lock, const char *name, struct lock_class_key *key)
osq_lock_init(&lock->osq);
#endif
trace_android_vh_mutex_init(lock);
debug_mutex_init(lock, name, key);
}
EXPORT_SYMBOL(__mutex_init);