]> pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[POWERPC] Remove last_syscall
authorAnton Blanchard <anton@samba.org>
Tue, 20 Mar 2007 15:08:33 +0000 (10:08 -0500)
committerPaul Mackerras <paulus@samba.org>
Thu, 22 Mar 2007 11:52:58 +0000 (22:52 +1100)
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>
arch/powerpc/kernel/asm-offsets.c
arch/powerpc/kernel/entry_32.S
arch/powerpc/kernel/process.c
arch/ppc/kernel/asm-offsets.c
arch/ppc/kernel/entry.S
include/asm-powerpc/processor.h

index 030d300cd71c8be2e04000b089363e4787ad9d1e..9735e828b52d8c60a5e09853a50bc9c7e905f13f 100644 (file)
@@ -77,7 +77,6 @@ int main(void)
        DEFINE(KSP_VSID, offsetof(struct thread_struct, ksp_vsid));
 #else /* CONFIG_PPC64 */
        DEFINE(PGDIR, offsetof(struct thread_struct, pgdir));
-       DEFINE(LAST_SYSCALL, offsetof(struct thread_struct, last_syscall));
 #if defined(CONFIG_4xx) || defined(CONFIG_BOOKE)
        DEFINE(THREAD_DBCR0, offsetof(struct thread_struct, dbcr0));
        DEFINE(PT_PTRACED, PT_PTRACED);
index c03e829fee3c17a2f3d29cc2fe51e93167fbc3b9..c29d1652a421d16143640dbb22f71aa113845f75 100644 (file)
@@ -191,7 +191,6 @@ stack_ovf:
 0:
 
 _GLOBAL(DoSyscall)
-       stw     r0,THREAD+LAST_SYSCALL(r2)
        stw     r3,ORIG_GPR3(r1)
        li      r12,0
        stw     r12,RESULT(r1)
index 972b2acbe713079c285bfdca796e9502dc2a8b60..0df04921550379ebb63bfefb2e76ba30969038a9 100644 (file)
@@ -567,7 +567,6 @@ int copy_thread(int nr, unsigned long clone_flags, unsigned long usp,
        kregs->nip = *((unsigned long *)ret_from_fork);
 #else
        kregs->nip = (unsigned long)ret_from_fork;
-       p->thread.last_syscall = -1;
 #endif
 
        return 0;
index 1f91eca2f3d70125f7e408a44d9e28feb16e4ec7..c5850a272650b688e462a9b1415e9c3514df5f1c 100644 (file)
@@ -40,7 +40,6 @@ main(void)
        DEFINE(PTRACE, offsetof(struct task_struct, ptrace));
        DEFINE(KSP, offsetof(struct thread_struct, ksp));
        DEFINE(PGDIR, offsetof(struct thread_struct, pgdir));
-       DEFINE(LAST_SYSCALL, offsetof(struct thread_struct, last_syscall));
        DEFINE(PT_REGS, offsetof(struct thread_struct, regs));
        DEFINE(THREAD_FPEXC_MODE, offsetof(struct thread_struct, fpexc_mode));
        DEFINE(THREAD_FPR0, offsetof(struct thread_struct, fpr[0]));
index a9d455369dc6b5a6ddb9455747c695dbe4079d04..ab64256110bd2ab2547d34f359877b40874b0717 100644 (file)
@@ -191,7 +191,6 @@ stack_ovf:
 0:
 
 _GLOBAL(DoSyscall)
-       stw     r0,THREAD+LAST_SYSCALL(r2)
        stw     r3,ORIG_GPR3(r1)
        li      r12,0
        stw     r12,RESULT(r1)
index a26c32ee5527f300dc45620a7ab582b6bed8d699..d947b160949115894a0bd38caa8d6467a4f2d291 100644 (file)
@@ -133,7 +133,6 @@ struct thread_struct {
        mm_segment_t    fs;             /* for get_fs() validation */
 #ifdef CONFIG_PPC32
        void            *pgdir;         /* root of page-table tree */
-       signed long     last_syscall;
 #endif
 #if defined(CONFIG_4xx) || defined (CONFIG_BOOKE)
        unsigned long   dbcr0;          /* debug control register values */