summaryrefslogtreecommitdiffstats
path: root/kernel/fail_function.c
diff options
context:
space:
mode:
authorChristian Borntraeger <borntraeger@de.ibm.com>2016-04-08 17:52:39 +0200
committerChristian Borntraeger <borntraeger@de.ibm.com>2018-02-14 13:53:43 +0000
commit6db4263fec9e550e0cdaed732f4af77a44c10f5f (patch)
tree9fcaced91f8cf6d960154d04e69e5ed9b7fe00cf /kernel/fail_function.c
parentf315104ad8b0c32be13eac628569ae707c332cb5 (diff)
downloadlinux-6db4263fec9e550e0cdaed732f4af77a44c10f5f.tar.bz2
KVM: s390: use switch vs jump table in priv.c
Instead of having huge jump tables for function selection, let's use normal switch/case statements for the instruction handlers in priv.c 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 <borntraeger@de.ibm.com> Reviewed-by: Cornelia Huck <cohuck@redhat.com> Reviewed-by: Janosch Frank <frankja@linux.vnet.ibm.com> Reviewed-by: David Hildenbrand <david@redhat.com> Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Diffstat (limited to 'kernel/fail_function.c')
0 files changed, 0 insertions, 0 deletions