-
- Downloads
MN10300: Save frame pointer in thread_info struct rather than global var
Save the current exception frame pointer in the thread_info struct rather than in a global variable as the latter makes SMP tricky, especially when preemption is also enabled. This also replaces __frame with current_frame() and rearranges header file inclusions to make it all compile. Signed-off-by:David Howells <dhowells@redhat.com> Acked-by:
Akira Takeuchi <takeuchi.akr@jp.panasonic.com>
Showing
- arch/mn10300/include/asm/frame.inc 13 additions, 43 deletionsarch/mn10300/include/asm/frame.inc
- arch/mn10300/include/asm/irq_regs.h 5 additions, 1 deletionarch/mn10300/include/asm/irq_regs.h
- arch/mn10300/include/asm/pgalloc.h 0 additions, 1 deletionarch/mn10300/include/asm/pgalloc.h
- arch/mn10300/include/asm/processor.h 18 additions, 28 deletionsarch/mn10300/include/asm/processor.h
- arch/mn10300/include/asm/ptrace.h 0 additions, 6 deletionsarch/mn10300/include/asm/ptrace.h
- arch/mn10300/include/asm/smp.h 0 additions, 13 deletionsarch/mn10300/include/asm/smp.h
- arch/mn10300/include/asm/thread_info.h 14 additions, 4 deletionsarch/mn10300/include/asm/thread_info.h
- arch/mn10300/include/asm/uaccess.h 1 addition, 3 deletionsarch/mn10300/include/asm/uaccess.h
- arch/mn10300/kernel/asm-offsets.c 1 addition, 1 deletionarch/mn10300/kernel/asm-offsets.c
- arch/mn10300/kernel/mn10300-watchdog.c 1 addition, 1 deletionarch/mn10300/kernel/mn10300-watchdog.c
- arch/mn10300/kernel/process.c 11 additions, 9 deletionsarch/mn10300/kernel/process.c
- arch/mn10300/kernel/signal.c 11 additions, 9 deletionsarch/mn10300/kernel/signal.c
- arch/mn10300/kernel/switch_to.S 0 additions, 18 deletionsarch/mn10300/kernel/switch_to.S
- arch/mn10300/kernel/traps.c 0 additions, 8 deletionsarch/mn10300/kernel/traps.c
- mm/maccess.c 1 addition, 1 deletionmm/maccess.c
Loading
Please register or sign in to comment