From 30027bfdb636e740355204e7d29655a20e05cae4 Mon Sep 17 00:00:00 2001 From: Shawn Bohrer Date: Sun, 6 Dec 2009 18:30:44 -0800 Subject: [PATCH] --- yaml --- r: 173221 b: refs/heads/master c: 2770f189b7a5582869c137e5617fb88cc0ad0fd3 h: refs/heads/master i: 173219: d9d58f5fe5c6883749e25a9749ba9ef5146038c3 v: v3 --- [refs] | 2 +- trunk/Documentation/DocBook/kernel-hacking.tmpl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 883f4b026674..68b585563819 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 038f7d0027d208df8fd59f5ff2bcf5c2d2fbba3f +refs/heads/master: 2770f189b7a5582869c137e5617fb88cc0ad0fd3 diff --git a/trunk/Documentation/DocBook/kernel-hacking.tmpl b/trunk/Documentation/DocBook/kernel-hacking.tmpl index 992e67e6be7f..7b3f49363413 100644 --- a/trunk/Documentation/DocBook/kernel-hacking.tmpl +++ b/trunk/Documentation/DocBook/kernel-hacking.tmpl @@ -352,7 +352,7 @@ asmlinkage long sys_mycall(int arg) -if (signal_pending()) +if (signal_pending(current)) return -ERESTARTSYS;