diff options
author | Paul Burton <[email protected]> | 2017-12-12 09:57:47 +0000 |
---|---|---|
committer | Paul Burton <[email protected]> | 2018-07-27 19:36:16 -0700 |
commit | 351fdddd366245c0fb4636f32edfb4198c8d6b8c (patch) | |
tree | f38034c7a4bdb213123e550302e04e3e3f4c2324 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 24babe69d7ff8d3845fac49b741b7257fb03f906 (diff) |
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 <[email protected]>: Move before change to
smp_processor_id in series]
Signed-off-by: Paul Burton <[email protected]>
Signed-off-by: Matt Redfearn <[email protected]>
Patchwork: https://patchwork.linux-mips.org/patch/17932/
Cc: Ralf Baechle <[email protected]>
Cc: James Hogan <[email protected]>
Cc: [email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions