linux/arch/xtensa/kernel
Max Filippov 3ae908c99e xtensa: provide custom CALLER_ADDR* implementations
Definition of CALLER_ADDR* through __builtin_return_address makes
compiler insert calls to __xtensa_libgcc_window_spill, which in turn
makes fast_syscall_spill_registers syscall that clobbers registers when
called from the kernel mode, leading to invalid opcode exceptions on
return to userspace.

Provide definition for CALLER_ADDR0 as MAKE_PC_FROM_RA(a0, a1) and in
case CONFIG_FRAME_POINTER is enabled extract CALLER_ADDR{1-3} from
stack.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Chris Zankel <chris@zankel.net>
2013-05-09 01:07:10 -07:00
..
align.S xtensa: clean up files to make them code-style compliant 2012-12-18 21:10:25 -08:00
asm-offsets.c xtensa: add support for TLS 2013-02-23 19:35:57 -08:00
coprocessor.S xtensa: clean up files to make them code-style compliant 2012-12-18 21:10:25 -08:00
entry.S xtensa: add support for TLS 2013-02-23 19:35:57 -08:00
head.S xtensa: add MMU v3 support 2013-05-09 01:07:09 -07:00
irq.c xtensa: add device trees support 2012-12-18 21:10:23 -08:00
Makefile xtensa: add stacktrace support 2013-05-09 01:07:10 -07:00
module.c xtensa: clean up files to make them code-style compliant 2012-12-18 21:10:25 -08:00
pci-dma.c xtensa: add missing symbol exports 2012-10-03 15:12:52 -07:00
pci.c Xtensa patchset for 3.7 2012-10-09 16:11:46 +09:00
platform.c xtensa: provide default platform_pcibios_init implementation 2013-05-09 01:07:09 -07:00
process.c xtensa: add support for TLS 2013-02-23 19:35:57 -08:00
ptrace.c xtensa: add support for TLS 2013-02-23 19:35:57 -08:00
setup.c xtensa: dispatch medium-priority interrupts 2013-02-23 19:12:52 -08:00
signal.c Changes for arch/xtensa for the 3.9 merge window. 2013-02-26 19:53:12 -08:00
stacktrace.c xtensa: provide custom CALLER_ADDR* implementations 2013-05-09 01:07:10 -07:00
syscall.c xtensa: avoid mmap cache aliasing 2013-02-23 19:12:53 -08:00
time.c xtensa: add IRQ domains support 2012-12-18 21:10:23 -08:00
traps.c xtensa: add stacktrace support 2013-05-09 01:07:10 -07:00
vectors.S xtensa: add MMU v3 support 2013-05-09 01:07:09 -07:00
vmlinux.lds.S xtensa: add MMU v3 support 2013-05-09 01:07:09 -07:00
xtensa_ksyms.c xtensa: fix oprofile building as module 2013-05-09 01:07:09 -07:00