[PATCH] doc: locktorture fix

Antonio Paolillo posted 1 patch 2 years, 7 months ago
Documentation/locking/locktorture.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] doc: locktorture fix
Posted by Antonio Paolillo 2 years, 7 months ago
The actual build option for rtmutex lock is `CONFIG_RT_MUTEXES`, not
`CONFIG_RT_MUTEX`.

Signed-off-by: Antonio Paolillo <antonio.paolillo@huawei.com>
---
 Documentation/locking/locktorture.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/locking/locktorture.rst b/Documentation/locking/locktorture.rst
index dfaf9fc883f4..3f7b44e2c070 100644
--- a/Documentation/locking/locktorture.rst
+++ b/Documentation/locking/locktorture.rst
@@ -67,7 +67,7 @@ torture_type
 
 		     - "rtmutex_lock":
 				rtmutex_lock() and rtmutex_unlock() pairs.
-				Kernel must have CONFIG_RT_MUTEX=y.
+				Kernel must have CONFIG_RT_MUTEXES=y.
 
 		     - "rwsem_lock":
 				read/write down() and up() semaphore pairs.
-- 
2.34.1
Re: [PATCH] doc: locktorture fix
Posted by Waiman Long 2 years, 7 months ago
On 1/30/23 07:55, Antonio Paolillo wrote:
> The actual build option for rtmutex lock is `CONFIG_RT_MUTEXES`, not
> `CONFIG_RT_MUTEX`.
>
> Signed-off-by: Antonio Paolillo <antonio.paolillo@huawei.com>
> ---
>   Documentation/locking/locktorture.rst | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/locking/locktorture.rst b/Documentation/locking/locktorture.rst
> index dfaf9fc883f4..3f7b44e2c070 100644
> --- a/Documentation/locking/locktorture.rst
> +++ b/Documentation/locking/locktorture.rst
> @@ -67,7 +67,7 @@ torture_type
>   
>   		     - "rtmutex_lock":
>   				rtmutex_lock() and rtmutex_unlock() pairs.
> -				Kernel must have CONFIG_RT_MUTEX=y.
> +				Kernel must have CONFIG_RT_MUTEXES=y.
>   
>   		     - "rwsem_lock":
>   				read/write down() and up() semaphore pairs.
Acked-by: Waiman Long <longman@redhat.com>