diff options
| author | Christian Borntraeger <[email protected]> | 2018-02-06 10:19:28 +0000 |
|---|---|---|
| committer | Christian Borntraeger <[email protected]> | 2018-02-14 13:53:43 +0000 |
| commit | cb7485da3ed1ac4ef6c71d4b2b715f8b87f118c8 (patch) | |
| tree | 508cea52e7bec2e5b263f0e212237e52c54008c1 /scripts/gcc-plugins/randomize_layout_plugin.c | |
| parent | KVM: s390: use switch vs jump table in priv.c (diff) | |
| download | kernel-cb7485da3ed1ac4ef6c71d4b2b715f8b87f118c8.tar.gz kernel-cb7485da3ed1ac4ef6c71d4b2b715f8b87f118c8.zip | |
KVM: s390: use switch vs jump table in intercept.c
Instead of having huge jump tables for function selection,
let's use normal switch/case statements for the instruction
handlers in intercept.c We can now also get rid of
intercept_handler_t.
This allows the compiler to make the right decision depending
on the situation (e.g. avoid jump-tables for thunks).
Signed-off-by: Christian Borntraeger <[email protected]>
Reviewed-by: Janosch Frank <[email protected]>
Reviewed-by: David Hildenbrand <[email protected]>
Reviewed-by: Cornelia Huck <[email protected]>
Signed-off-by: Christian Borntraeger <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/randomize_layout_plugin.c')
0 files changed, 0 insertions, 0 deletions
