kernel_optimize_test/arch/powerpc
Paul Mackerras e56a6e20f3 [POWERPC] Clear RI bit in MSR before restoring r13 when returning to userspace
Some instruction tracing tools use the RI (recoverable interrupt) bit
in the MSR to indicate when it's safe to single-step.  Currently we
clear RI after restoring r13 when returning to userspace.  However,
if we single-step past the point where r13 is restored, we'll corrupt
r13 in the exception entry code and not restore it.  This moves the
clearing of RI to just before r13 is restored so this doesn't happen.

Signed-off-by: Paul Mackerras <paulus@samba.org>
2007-02-07 14:03:23 +11:00
..
boot [POWERPC] Celleb: basic support 2007-02-07 14:03:21 +11:00
configs [POWERPC] pasemi: defconfig 2007-02-07 14:03:22 +11:00
kernel [POWERPC] Clear RI bit in MSR before restoring r13 when returning to userspace 2007-02-07 14:03:23 +11:00
lib [POWERPC] Fix array indexing error in rheap grow() 2007-02-07 14:03:19 +11:00
math-emu [POWERPC] ppc math-emu needs -fno-builtin-fabs for math.c and fabs.c 2006-09-26 15:24:35 +10:00
mm [POWERPC] Add "is_power_of_2" checking to log2.h. 2007-02-07 14:03:19 +11:00
oprofile [POWERPC] Oprofile cleanup 2007-02-07 14:03:19 +11:00
platforms [POWERPC] Maple: use mmio nvram 2007-02-07 14:03:23 +11:00
sysdev [POWERPC] Assign all PCI busses on G3 Blue & White 2007-02-07 14:03:22 +11:00
xmon [POWERPC] Generic BUG for powerpc 2006-12-11 16:35:07 +11:00
.gitignore [POWERPC] Add files build to .gitignore 2006-12-04 20:41:29 +11:00
Kconfig [POWERPC] Maple: use mmio nvram 2007-02-07 14:03:23 +11:00
Kconfig.debug [POWERPC] pasemi: UART udbg support 2007-02-07 14:03:22 +11:00
Makefile [POWERPC] Create a "wrapper" script and use it in arch/powerpc/boot 2006-09-28 14:30:02 +10:00