From bc95a02e1129cfd29ed7b2f37070d3d28f9521dc Mon Sep 17 00:00:00 2001 From: zhujingpeng Date: Wed, 10 Apr 2024 20:37:42 +0800 Subject: [PATCH] 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 (cherry picked from commit 397759af069550305c6b29c999226d4947e2ee9a) --- include/linux/percpu-rwsem.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/percpu-rwsem.h b/include/linux/percpu-rwsem.h index e05a3b32331f..bf66cbfb11c9 100644 --- a/include/linux/percpu-rwsem.h +++ b/include/linux/percpu-rwsem.h @@ -18,6 +18,7 @@ struct percpu_rw_semaphore { #ifdef CONFIG_DEBUG_LOCK_ALLOC struct lockdep_map dep_map; #endif + ANDROID_OEM_DATA(1); }; void _trace_android_vh_record_pcpu_rwsem_starttime(