diff options
author | Vineet Gupta <vgupta@synopsys.com> | 2013-01-18 04:42:18 -0500 |
---|---|---|
committer | Vineet Gupta <vgupta@synopsys.com> | 2013-02-11 09:30:38 -0500 |
commit | bf90e1eab682dcb79b7765989fb65835ce9d6165 (patch) | |
tree | cb1bb4364862d878e1d361d371f8392d08f606d7 /arch/arc/include/asm/processor.h | |
parent | 4adeefe161a74369e44cc8e663f240ece0470dc3 (diff) |
ARC: Process-creation/scheduling/idle-loop
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Cc: Al Viro <viro@ZenIV.linux.org.uk>
Cc: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/arc/include/asm/processor.h')
-rw-r--r-- | arch/arc/include/asm/processor.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/arch/arc/include/asm/processor.h b/arch/arc/include/asm/processor.h index bf88cfbc9128..860252ec3fa7 100644 --- a/arch/arc/include/asm/processor.h +++ b/arch/arc/include/asm/processor.h | |||
@@ -29,6 +29,9 @@ struct thread_struct { | |||
29 | unsigned long callee_reg; /* pointer to callee regs */ | 29 | unsigned long callee_reg; /* pointer to callee regs */ |
30 | unsigned long fault_address; /* dbls as brkpt holder as well */ | 30 | unsigned long fault_address; /* dbls as brkpt holder as well */ |
31 | unsigned long cause_code; /* Exception Cause Code (ECR) */ | 31 | unsigned long cause_code; /* Exception Cause Code (ECR) */ |
32 | #ifdef CONFIG_ARC_FPU_SAVE_RESTORE | ||
33 | struct arc_fpu fpu; | ||
34 | #endif | ||
32 | }; | 35 | }; |
33 | 36 | ||
34 | #define INIT_THREAD { \ | 37 | #define INIT_THREAD { \ |
@@ -54,12 +57,6 @@ unsigned long thread_saved_pc(struct task_struct *t); | |||
54 | 57 | ||
55 | #define cpu_relax() do { } while (0) | 58 | #define cpu_relax() do { } while (0) |
56 | 59 | ||
57 | /* | ||
58 | * Create a new kernel thread | ||
59 | */ | ||
60 | |||
61 | extern int kernel_thread(int (*fn) (void *), void *arg, unsigned long flags); | ||
62 | |||
63 | #define copy_segments(tsk, mm) do { } while (0) | 60 | #define copy_segments(tsk, mm) do { } while (0) |
64 | #define release_segments(mm) do { } while (0) | 61 | #define release_segments(mm) do { } while (0) |
65 | 62 | ||