diff --git a/include/linux/rwsem.h b/include/linux/rwsem.h index ab93b6eae696..93c2235349a0 100644 --- a/include/linux/rwsem.h +++ b/include/linux/rwsem.h @@ -42,6 +42,11 @@ struct rw_semaphore { #ifdef CONFIG_DEBUG_LOCK_ALLOC struct lockdep_map dep_map; #endif + /* NOTICE: m_count is a vendor variable used for the config + * CONFIG_RWSEM_PRIO_AWARE. This is included here to maintain ABI + * compatibility with our vendors */ + /* count for waiters preempt to queue in wait list */ + long m_count; }; /*