diff options
author | John Högberg <[email protected]> | 2018-11-20 13:21:32 +0100 |
---|---|---|
committer | John Högberg <[email protected]> | 2018-11-20 15:54:40 +0100 |
commit | 3a812a499f9a40951f1ba6b7315473c5e149fd8b (patch) | |
tree | 164f2d4a24244a82a3a79c763f59986bfd53aaf1 | |
parent | bbd72b63ce63eab7006ebb571d750771e30061b6 (diff) | |
download | otp-3a812a499f9a40951f1ba6b7315473c5e149fd8b.tar.gz otp-3a812a499f9a40951f1ba6b7315473c5e149fd8b.tar.bz2 otp-3a812a499f9a40951f1ba6b7315473c5e149fd8b.zip |
Allow disabling retpoline in interpreter loop
We only do this when the user has explicitly told us it's okay to
partially disable mitigation (spectre-mitigation=incomplete). The
macro is inert if it isn't.
-rw-r--r-- | erts/emulator/beam/beam_emu.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/erts/emulator/beam/beam_emu.c b/erts/emulator/beam/beam_emu.c index 1ad13c32e3..0f6e6533fc 100644 --- a/erts/emulator/beam/beam_emu.c +++ b/erts/emulator/beam/beam_emu.c @@ -1227,6 +1227,7 @@ init_emulator(void) * the instructions' C labels to the loader. * The second call starts execution of BEAM code. This call never returns. */ +ERTS_NO_RETPOLINE void process_main(void) { static int init_done = 0; |