aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/arm64/include/asm/thread_info.h3
-rw-r--r--arch/arm64/kernel/asm-offsets.c1
-rw-r--r--arch/arm64/kernel/signal.c6
3 files changed, 0 insertions, 10 deletions
diff --git a/arch/arm64/include/asm/thread_info.h b/arch/arm64/include/asm/thread_info.h
index 702e1e6a0d80..dcd06d18a42a 100644
--- a/arch/arm64/include/asm/thread_info.h
+++ b/arch/arm64/include/asm/thread_info.h
@@ -33,7 +33,6 @@
33#ifndef __ASSEMBLY__ 33#ifndef __ASSEMBLY__
34 34
35struct task_struct; 35struct task_struct;
36struct exec_domain;
37 36
38#include <asm/types.h> 37#include <asm/types.h>
39 38
@@ -47,7 +46,6 @@ struct thread_info {
47 unsigned long flags; /* low level flags */ 46 unsigned long flags; /* low level flags */
48 mm_segment_t addr_limit; /* address limit */ 47 mm_segment_t addr_limit; /* address limit */
49 struct task_struct *task; /* main task structure */ 48 struct task_struct *task; /* main task structure */
50 struct exec_domain *exec_domain; /* execution domain */
51 int preempt_count; /* 0 => preemptable, <0 => bug */ 49 int preempt_count; /* 0 => preemptable, <0 => bug */
52 int cpu; /* cpu */ 50 int cpu; /* cpu */
53}; 51};
@@ -55,7 +53,6 @@ struct thread_info {
55#define INIT_THREAD_INFO(tsk) \ 53#define INIT_THREAD_INFO(tsk) \
56{ \ 54{ \
57 .task = &tsk, \ 55 .task = &tsk, \
58 .exec_domain = &default_exec_domain, \
59 .flags = 0, \ 56 .flags = 0, \
60 .preempt_count = INIT_PREEMPT_COUNT, \ 57 .preempt_count = INIT_PREEMPT_COUNT, \
61 .addr_limit = KERNEL_DS, \ 58 .addr_limit = KERNEL_DS, \
diff --git a/arch/arm64/kernel/asm-offsets.c b/arch/arm64/kernel/asm-offsets.c
index f7fa65d4c352..56cadd3606bf 100644
--- a/arch/arm64/kernel/asm-offsets.c
+++ b/arch/arm64/kernel/asm-offsets.c
@@ -38,7 +38,6 @@ int main(void)
38 DEFINE(TI_PREEMPT, offsetof(struct thread_info, preempt_count)); 38 DEFINE(TI_PREEMPT, offsetof(struct thread_info, preempt_count));
39 DEFINE(TI_ADDR_LIMIT, offsetof(struct thread_info, addr_limit)); 39 DEFINE(TI_ADDR_LIMIT, offsetof(struct thread_info, addr_limit));
40 DEFINE(TI_TASK, offsetof(struct thread_info, task)); 40 DEFINE(TI_TASK, offsetof(struct thread_info, task));
41 DEFINE(TI_EXEC_DOMAIN, offsetof(struct thread_info, exec_domain));
42 DEFINE(TI_CPU, offsetof(struct thread_info, cpu)); 41 DEFINE(TI_CPU, offsetof(struct thread_info, cpu));
43 BLANK(); 42 BLANK();
44 DEFINE(THREAD_CPU_CONTEXT, offsetof(struct task_struct, thread.cpu_context)); 43 DEFINE(THREAD_CPU_CONTEXT, offsetof(struct task_struct, thread.cpu_context));
diff --git a/arch/arm64/kernel/signal.c b/arch/arm64/kernel/signal.c
index 660ccf9f7524..9f28eaa97123 100644
--- a/arch/arm64/kernel/signal.c
+++ b/arch/arm64/kernel/signal.c
@@ -294,12 +294,6 @@ static void handle_signal(struct ksignal *ksig, struct pt_regs *regs)
294 int ret; 294 int ret;
295 295
296 /* 296 /*
297 * translate the signal
298 */
299 if (usig < 32 && thread->exec_domain && thread->exec_domain->signal_invmap)
300 usig = thread->exec_domain->signal_invmap[usig];
301
302 /*
303 * Set up the stack frame 297 * Set up the stack frame
304 */ 298 */
305 if (is_compat_task()) { 299 if (is_compat_task()) {