diff options
| author | Russell King <[email protected]> | 2018-07-19 12:17:38 +0100 |
|---|---|---|
| committer | Russell King <[email protected]> | 2018-11-12 10:51:01 +0000 |
| commit | e209950fdd065d2cc46e6338e47e52841b830cba (patch) | |
| tree | 750f1350edd2beea0ebeb9edf254a4b82eac2398 /lib/mpi/mpi-div.c | |
| parent | 945aceb1db8885d3a35790cf2e810f681db52756 (diff) | |
ARM: add PROC_VTABLE and PROC_TABLE macros
Allow the way we access members of the processor vtable to be changed
at compile time. We will need to move to per-CPU vtables to fix the
Spectre variant 2 issues on big.Little systems.
However, we have a couple of calls that do not need the vtable
treatment, and indeed cause a kernel warning due to the (later) use
of smp_processor_id(), so also introduce the PROC_TABLE macro for
these which always use CPU 0's function pointers.
Reviewed-by: Julien Thierry <[email protected]>
Signed-off-by: Russell King <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-div.c')
0 files changed, 0 insertions, 0 deletions