linux_dsm_epyc7002/arch/mips/vdso
Paul Burton 351fdddd36
MIPS: VDSO: Prevent use of smp_processor_id()
VDSO code should not be using smp_processor_id(), since it is executed
in user mode.
Introduce a VDSO-specific path which will cause a compile-time
or link-time error (depending upon support for __compiletime_error) if
the VDSO ever incorrectly attempts to use smp_processor_id().

[Matt Redfearn <matt.redfearn@imgtec.com>: Move before change to
smp_processor_id in series]

Signed-off-by: Paul Burton <paul.burton@mips.com>
Signed-off-by: Matt Redfearn <matt.redfearn@mips.com>
Patchwork: https://patchwork.linux-mips.org/patch/17932/
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: James Hogan <jhogan@kernel.org>
Cc: linux-mips@linux-mips.org
2018-07-27 19:36:16 -07:00
..
.gitignore MIPS: Initial implementation of a VDSO 2015-11-11 08:36:36 +01:00
elf.S MIPS: VDSO: Replace __mips_isa_rev with MIPS_ISA_REV 2018-03-09 11:22:48 +00:00
genvdso.c MIPS: Initial implementation of a VDSO 2015-11-11 08:36:36 +01:00
genvdso.h MIPS: Initial implementation of a VDSO 2015-11-11 08:36:36 +01:00
gettimeofday.c MIPS: VDSO: Avoid use of linux/irqchip/mips-gic.h 2017-09-04 13:53:14 +02:00
Makefile MIPS: VDSO: Prevent use of smp_processor_id() 2018-07-27 19:36:16 -07:00
sigreturn.S MIPS: Add DWARF unwinding to assembly 2017-09-06 11:01:52 +02:00
vdso.h MIPS: VDSO: Add implementations of gettimeofday() and clock_gettime() 2015-11-11 08:36:41 +01:00
vdso.lds.S MIPS: VDSO: Add implementations of gettimeofday() and clock_gettime() 2015-11-11 08:36:41 +01:00