Skip to content
This repository was archived by the owner on Nov 8, 2023. It is now read-only.

Commit bc95a02

Browse files
zhujingpengCarlos Llamas
authored andcommitted
ANDROID: GKI: add OEM data to struct percpu_rw_semaphore
Add an OEM data field to percpu_rw_semaphore to support OEM customized modification. Bug: 333679049 Change-Id: I73ef65e228b427d51fd1b1e622c0f5210ff8eb9e Signed-off-by: zhujingpeng <zhujingpeng@vivo.com> (cherry picked from commit 397759a)
1 parent 8e70bb6 commit bc95a02

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

include/linux/percpu-rwsem.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ struct percpu_rw_semaphore {
1818
#ifdef CONFIG_DEBUG_LOCK_ALLOC
1919
struct lockdep_map dep_map;
2020
#endif
21+
ANDROID_OEM_DATA(1);
2122
};
2223

2324
void _trace_android_vh_record_pcpu_rwsem_starttime(

0 commit comments

Comments
 (0)