diff options
author | WANG Cong <xiyou.wangcong@gmail.com> | 2008-04-29 00:59:15 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-29 08:06:02 -0700 |
commit | ecd0fa9825a1270e31fb48bc9edcfb28918b6c51 (patch) | |
tree | 249577a09b7028f75264c31673ab4999e2a92cda /arch/blackfin | |
parent | 6e5e8c5085190b30b6fa42a4b75a88c10846b5f2 (diff) | |
download | op-kernel-dev-ecd0fa9825a1270e31fb48bc9edcfb28918b6c51.zip op-kernel-dev-ecd0fa9825a1270e31fb48bc9edcfb28918b6c51.tar.gz |
Remove the macro get_personality
Remove the macro get_personality, use ->personality instead.
Cc: Christoph Hellwig <hch@infradead.org
Cc: Alexey Dobriyan <adobriyan@gmail.com>
Cc: David Howells <dhowells@redhat.com>
Cc: Bryan Wu <bryan.wu@analog.com>
Signed-off-by: WANG Cong <xiyou.wangcong@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/blackfin')
-rw-r--r-- | arch/blackfin/kernel/signal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/blackfin/kernel/signal.c b/arch/blackfin/kernel/signal.c index d1fa244..cb9d883 100644 --- a/arch/blackfin/kernel/signal.c +++ b/arch/blackfin/kernel/signal.c @@ -212,7 +212,7 @@ setup_rt_frame(int sig, struct k_sigaction *ka, siginfo_t * info, /* Set up registers for signal handler */ wrusp((unsigned long)frame); - if (get_personality & FDPIC_FUNCPTRS) { + if (current->personality & FDPIC_FUNCPTRS) { struct fdpic_func_descriptor __user *funcptr = (struct fdpic_func_descriptor *) ka->sa.sa_handler; __get_user(regs->pc, &funcptr->text); |