Commit 2770f189 authored by Shawn Bohrer's avatar Shawn Bohrer Committed by Linus Torvalds
Browse files

docbook: fix signal_pending() argument

Since signal_pending() takes a task_struct pointer as an argument, update
the example to pass in 'current'.
Signed-off-by: default avatarShawn Bohrer <>
Signed-off-by: default avatarRandy Dunlap <>
Signed-off-by: default avatarLinus Torvalds <>
parent 038f7d00
......@@ -352,7 +352,7 @@ asmlinkage long sys_mycall(int arg)
if (signal_pending())
if (signal_pending(current))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment