aboutsummaryrefslogtreecommitdiffstats
path: root/arch/alpha
diff options
context:
space:
mode:
Diffstat (limited to 'arch/alpha')
-rw-r--r--arch/alpha/include/asm/thread_info.h5
-rw-r--r--arch/alpha/kernel/signal.c2
2 files changed, 1 insertions, 6 deletions
diff --git a/arch/alpha/include/asm/thread_info.h b/arch/alpha/include/asm/thread_info.h
index 48bbea6898b3..d5b98ab514bb 100644
--- a/arch/alpha/include/asm/thread_info.h
+++ b/arch/alpha/include/asm/thread_info.h
@@ -27,8 +27,6 @@ struct thread_info {
27 int bpt_nsaved; 27 int bpt_nsaved;
28 unsigned long bpt_addr[2]; /* breakpoint handling */ 28 unsigned long bpt_addr[2]; /* breakpoint handling */
29 unsigned int bpt_insn[2]; 29 unsigned int bpt_insn[2];
30
31 struct restart_block restart_block;
32}; 30};
33 31
34/* 32/*
@@ -40,9 +38,6 @@ struct thread_info {
40 .exec_domain = &default_exec_domain, \ 38 .exec_domain = &default_exec_domain, \
41 .addr_limit = KERNEL_DS, \ 39 .addr_limit = KERNEL_DS, \
42 .preempt_count = INIT_PREEMPT_COUNT, \ 40 .preempt_count = INIT_PREEMPT_COUNT, \
43 .restart_block = { \
44 .fn = do_no_restart_syscall, \
45 }, \
46} 41}
47 42
48#define init_thread_info (init_thread_union.thread_info) 43#define init_thread_info (init_thread_union.thread_info)
diff --git a/arch/alpha/kernel/signal.c b/arch/alpha/kernel/signal.c
index 6cec2881acbf..8dbfb15f1745 100644
--- a/arch/alpha/kernel/signal.c
+++ b/arch/alpha/kernel/signal.c
@@ -150,7 +150,7 @@ restore_sigcontext(struct sigcontext __user *sc, struct pt_regs *regs)
150 struct switch_stack *sw = (struct switch_stack *)regs - 1; 150 struct switch_stack *sw = (struct switch_stack *)regs - 1;
151 long i, err = __get_user(regs->pc, &sc->sc_pc); 151 long i, err = __get_user(regs->pc, &sc->sc_pc);
152 152
153 current_thread_info()->restart_block.fn = do_no_restart_syscall; 153 current->restart_block.fn = do_no_restart_syscall;
154 154
155 sw->r26 = (unsigned long) ret_from_sys_call; 155 sw->r26 = (unsigned long) ret_from_sys_call;
156 156