summaryrefslogtreecommitdiffstats
path: root/include/asm-frv
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2006-01-06 00:11:45 -0800
committerLinus Torvalds <torvalds@g5.osdl.org>2006-01-06 08:33:33 -0800
commitfef2b580eb50281ae1d2413ab340f677f6722281 (patch)
treea0cd5204a30a06e72123b7030a8279e1239255da /include/asm-frv
parent8efc0ab50edbac5c65191b8a58dfdab3741b7901 (diff)
downloadop-kernel-dev-fef2b580eb50281ae1d2413ab340f677f6722281.zip
op-kernel-dev-fef2b580eb50281ae1d2413ab340f677f6722281.tar.gz
[PATCH] frv: improve signal handling
The attached patch improves the signal handling: (1) It makes do_signal() static as it isn't called from anywhere outside of the arch code. (2) It removes the regs argument to all the static functions within that file, using __frame instead (which is the same thing held in a global register). Signed-off-by: David Howells <dhowells@redhat.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-frv')
-rw-r--r--include/asm-frv/signal.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/asm-frv/signal.h b/include/asm-frv/signal.h
index d407bde..6736689 100644
--- a/include/asm-frv/signal.h
+++ b/include/asm-frv/signal.h
@@ -151,7 +151,6 @@ typedef struct sigaltstack {
size_t ss_size;
} stack_t;
-extern int do_signal(struct pt_regs *regs, sigset_t *oldset);
#define ptrace_signal_deliver(regs, cookie) do { } while (0)
#ifdef __KERNEL__
OpenPOWER on IntegriCloud