]> Git Repo - qemu.git/commit
s390x/flic: cache flic in s390_get_flic
authorFei Li <[email protected]>
Fri, 17 Mar 2017 09:28:30 +0000 (10:28 +0100)
committerCornelia Huck <[email protected]>
Fri, 21 Apr 2017 07:32:09 +0000 (09:32 +0200)
commitbc66d6cbca780c5b8c237b9d355caa8274e5b312
treedc20c5152425522930d706fc807445858911441b
parentc572d3f313a3580bc2a1ec7c14a25a2ac40c32ca
s390x/flic: cache flic in s390_get_flic

s390_get_flic() is called many times to obtain the flic. This wastes a
lot of time as it calls object_resolve_path() every time. Let's cache
S390FLICState by defining it as static.

Signed-off-by: Fei Li <[email protected]>
Signed-off-by: Cornelia Huck <[email protected]>
hw/intc/s390_flic.c
This page took 0.024995 seconds and 4 git commands to generate.