The patch titled i386-pda: Store the interrupt regs pointer in the PDA has been removed from the -mm tree. Its filename was i386-pda-store-the-interrupt-regs-pointer-in-the-pda.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ Subject: i386-pda: Store the interrupt regs pointer in the PDA From: Jeremy Fitzhardinge <jeremy@xxxxxxxx> Signed-off-by: Jeremy Fitzhardinge <jeremy@xxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- include/asm-i386/irq_regs.h | 28 +++++++++++++++++++++++++++- include/asm-i386/pda.h | 1 + 2 files changed, 28 insertions(+), 1 deletion(-) diff -puN include/asm-i386/irq_regs.h~i386-pda-store-the-interrupt-regs-pointer-in-the-pda include/asm-i386/irq_regs.h --- a/include/asm-i386/irq_regs.h~i386-pda-store-the-interrupt-regs-pointer-in-the-pda +++ a/include/asm-i386/irq_regs.h @@ -1 +1,27 @@ -#include <asm-generic/irq_regs.h> +/* + * Per-cpu current frame pointer - the location of the last exception frame on + * the stack, stored in the PDA. + * + * Jeremy Fitzhardinge <jeremy@xxxxxxxx> + */ +#ifndef _ASM_I386_IRQ_REGS_H +#define _ASM_I386_IRQ_REGS_H + +#include <asm/pda.h> + +static inline struct pt_regs *get_irq_regs(void) +{ + return read_pda(irq_regs); +} + +static inline struct pt_regs *set_irq_regs(struct pt_regs *new_regs) +{ + struct pt_regs *old_regs; + + old_regs = read_pda(irq_regs); + write_pda(irq_regs, new_regs); + + return old_regs; +} + +#endif /* _ASM_I386_IRQ_REGS_H */ diff -puN include/asm-i386/pda.h~i386-pda-store-the-interrupt-regs-pointer-in-the-pda include/asm-i386/pda.h --- a/include/asm-i386/pda.h~i386-pda-store-the-interrupt-regs-pointer-in-the-pda +++ a/include/asm-i386/pda.h @@ -14,6 +14,7 @@ struct i386_pda int cpu_number; struct task_struct *pcurrent; /* current process */ + struct pt_regs *irq_regs; }; extern struct i386_pda *_cpu_pda[]; _ Patches currently in -mm which might be from jeremy@xxxxxxxx are generic-bug-implementation.patch generic-bug-for-i386.patch generic-bug-for-x86-64.patch uml-add-generic-bug-support.patch use-generic-bug-for-ppc.patch bug-test-1.patch fix-generic-warn_on-message.patch time-uninline-jiffiesh-fix.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html