[PATCH] docs: kernel-hacking: fix typo

From: Manuel Ebner

Date: Sat Jun 27 2026 - 05:16:53 EST


GP_KERNEL -> GFP_KERNEL

Signed-off-by: Manuel Ebner <manuelebner@xxxxxxxxxxx>
---
Documentation/kernel-hacking/locking.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/kernel-hacking/locking.rst b/Documentation/kernel-hacking/locking.rst
index c969c76ef7cb..9c6c76d3a723 100644
--- a/Documentation/kernel-hacking/locking.rst
+++ b/Documentation/kernel-hacking/locking.rst
@@ -1317,7 +1317,7 @@ from user context, and can sleep.

- put_user()

-- kmalloc(GP_KERNEL) <kmalloc>`
+- kmalloc(GFP_KERNEL) <kmalloc>`

- mutex_lock_interruptible() and
mutex_lock()
--
2.54.0