diff options
author | Anton Blanchard <anton@samba.org> | 2007-03-20 11:08:33 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-03-22 07:52:58 -0400 |
commit | 4002aca771a2aa2848e94a98cf51a2cae4e77ae0 (patch) | |
tree | 674a1993678a237a5bf139027bd535906ed7ddd4 | |
parent | f4db196717c615db68100dee2de8f47d2dc19372 (diff) |
[POWERPC] Remove last_syscall
Remove last_syscall from 32bit powerpc, its been gone in 64bit for years.
Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
-rw-r--r-- | arch/powerpc/kernel/asm-offsets.c | 1 | ||||
-rw-r--r-- | arch/powerpc/kernel/entry_32.S | 1 | ||||
-rw-r--r-- | arch/powerpc/kernel/process.c | 1 | ||||
-rw-r--r-- | arch/ppc/kernel/asm-offsets.c | 1 | ||||
-rw-r--r-- | arch/ppc/kernel/entry.S | 1 | ||||
-rw-r--r-- | include/asm-powerpc/processor.h | 1 |
6 files changed, 0 insertions, 6 deletions
diff --git a/arch/powerpc/kernel/asm-offsets.c b/arch/powerpc/kernel/asm-offsets.c index 030d300cd71c..9735e828b52d 100644 --- a/arch/powerpc/kernel/asm-offsets.c +++ b/arch/powerpc/kernel/asm-offsets.c | |||
@@ -77,7 +77,6 @@ int main(void) | |||
77 | DEFINE(KSP_VSID, offsetof(struct thread_struct, ksp_vsid)); | 77 | DEFINE(KSP_VSID, offsetof(struct thread_struct, ksp_vsid)); |
78 | #else /* CONFIG_PPC64 */ | 78 | #else /* CONFIG_PPC64 */ |
79 | DEFINE(PGDIR, offsetof(struct thread_struct, pgdir)); | 79 | DEFINE(PGDIR, offsetof(struct thread_struct, pgdir)); |
80 | DEFINE(LAST_SYSCALL, offsetof(struct thread_struct, last_syscall)); | ||
81 | #if defined(CONFIG_4xx) || defined(CONFIG_BOOKE) | 80 | #if defined(CONFIG_4xx) || defined(CONFIG_BOOKE) |
82 | DEFINE(THREAD_DBCR0, offsetof(struct thread_struct, dbcr0)); | 81 | DEFINE(THREAD_DBCR0, offsetof(struct thread_struct, dbcr0)); |
83 | DEFINE(PT_PTRACED, PT_PTRACED); | 82 | DEFINE(PT_PTRACED, PT_PTRACED); |
diff --git a/arch/powerpc/kernel/entry_32.S b/arch/powerpc/kernel/entry_32.S index c03e829fee3c..c29d1652a421 100644 --- a/arch/powerpc/kernel/entry_32.S +++ b/arch/powerpc/kernel/entry_32.S | |||
@@ -191,7 +191,6 @@ stack_ovf: | |||
191 | 0: | 191 | 0: |
192 | 192 | ||
193 | _GLOBAL(DoSyscall) | 193 | _GLOBAL(DoSyscall) |
194 | stw r0,THREAD+LAST_SYSCALL(r2) | ||
195 | stw r3,ORIG_GPR3(r1) | 194 | stw r3,ORIG_GPR3(r1) |
196 | li r12,0 | 195 | li r12,0 |
197 | stw r12,RESULT(r1) | 196 | stw r12,RESULT(r1) |
diff --git a/arch/powerpc/kernel/process.c b/arch/powerpc/kernel/process.c index 972b2acbe713..0df049215503 100644 --- a/arch/powerpc/kernel/process.c +++ b/arch/powerpc/kernel/process.c | |||
@@ -567,7 +567,6 @@ int copy_thread(int nr, unsigned long clone_flags, unsigned long usp, | |||
567 | kregs->nip = *((unsigned long *)ret_from_fork); | 567 | kregs->nip = *((unsigned long *)ret_from_fork); |
568 | #else | 568 | #else |
569 | kregs->nip = (unsigned long)ret_from_fork; | 569 | kregs->nip = (unsigned long)ret_from_fork; |
570 | p->thread.last_syscall = -1; | ||
571 | #endif | 570 | #endif |
572 | 571 | ||
573 | return 0; | 572 | return 0; |
diff --git a/arch/ppc/kernel/asm-offsets.c b/arch/ppc/kernel/asm-offsets.c index 1f91eca2f3d7..c5850a272650 100644 --- a/arch/ppc/kernel/asm-offsets.c +++ b/arch/ppc/kernel/asm-offsets.c | |||
@@ -40,7 +40,6 @@ main(void) | |||
40 | DEFINE(PTRACE, offsetof(struct task_struct, ptrace)); | 40 | DEFINE(PTRACE, offsetof(struct task_struct, ptrace)); |
41 | DEFINE(KSP, offsetof(struct thread_struct, ksp)); | 41 | DEFINE(KSP, offsetof(struct thread_struct, ksp)); |
42 | DEFINE(PGDIR, offsetof(struct thread_struct, pgdir)); | 42 | DEFINE(PGDIR, offsetof(struct thread_struct, pgdir)); |
43 | DEFINE(LAST_SYSCALL, offsetof(struct thread_struct, last_syscall)); | ||
44 | DEFINE(PT_REGS, offsetof(struct thread_struct, regs)); | 43 | DEFINE(PT_REGS, offsetof(struct thread_struct, regs)); |
45 | DEFINE(THREAD_FPEXC_MODE, offsetof(struct thread_struct, fpexc_mode)); | 44 | DEFINE(THREAD_FPEXC_MODE, offsetof(struct thread_struct, fpexc_mode)); |
46 | DEFINE(THREAD_FPR0, offsetof(struct thread_struct, fpr[0])); | 45 | DEFINE(THREAD_FPR0, offsetof(struct thread_struct, fpr[0])); |
diff --git a/arch/ppc/kernel/entry.S b/arch/ppc/kernel/entry.S index a9d455369dc6..ab64256110bd 100644 --- a/arch/ppc/kernel/entry.S +++ b/arch/ppc/kernel/entry.S | |||
@@ -191,7 +191,6 @@ stack_ovf: | |||
191 | 0: | 191 | 0: |
192 | 192 | ||
193 | _GLOBAL(DoSyscall) | 193 | _GLOBAL(DoSyscall) |
194 | stw r0,THREAD+LAST_SYSCALL(r2) | ||
195 | stw r3,ORIG_GPR3(r1) | 194 | stw r3,ORIG_GPR3(r1) |
196 | li r12,0 | 195 | li r12,0 |
197 | stw r12,RESULT(r1) | 196 | stw r12,RESULT(r1) |
diff --git a/include/asm-powerpc/processor.h b/include/asm-powerpc/processor.h index a26c32ee5527..d947b1609491 100644 --- a/include/asm-powerpc/processor.h +++ b/include/asm-powerpc/processor.h | |||
@@ -133,7 +133,6 @@ struct thread_struct { | |||
133 | mm_segment_t fs; /* for get_fs() validation */ | 133 | mm_segment_t fs; /* for get_fs() validation */ |
134 | #ifdef CONFIG_PPC32 | 134 | #ifdef CONFIG_PPC32 |
135 | void *pgdir; /* root of page-table tree */ | 135 | void *pgdir; /* root of page-table tree */ |
136 | signed long last_syscall; | ||
137 | #endif | 136 | #endif |
138 | #if defined(CONFIG_4xx) || defined (CONFIG_BOOKE) | 137 | #if defined(CONFIG_4xx) || defined (CONFIG_BOOKE) |
139 | unsigned long dbcr0; /* debug control register values */ | 138 | unsigned long dbcr0; /* debug control register values */ |