diff --git a/include/linux/mutex.h b/include/linux/mutex.h index 8f226d460f51..35d7b14239e2 100644 --- a/include/linux/mutex.h +++ b/include/linux/mutex.h @@ -19,6 +19,7 @@ #include #include #include +#include #ifdef CONFIG_DEBUG_LOCK_ALLOC # define __DEP_MAP_MUTEX_INITIALIZER(lockname) \ @@ -73,6 +74,7 @@ struct mutex { #ifdef CONFIG_DEBUG_LOCK_ALLOC struct lockdep_map dep_map; #endif + ANDROID_OEM_DATA_ARRAY(1, 2); }; #ifdef CONFIG_DEBUG_MUTEXES diff --git a/include/linux/rwsem.h b/include/linux/rwsem.h index 64d32ef155c6..c206146033f7 100644 --- a/include/linux/rwsem.h +++ b/include/linux/rwsem.h @@ -66,6 +66,7 @@ struct rw_semaphore { struct lockdep_map dep_map; #endif ANDROID_VENDOR_DATA(1); + ANDROID_OEM_DATA_ARRAY(1, 2); }; enum rwsem_waiter_type {