summaryrefslogtreecommitdiffstats
path: root/include/exec/memory.h
diff options
context:
space:
mode:
authorRichard Henderson2013-12-06 22:44:52 +0100
committerAndreas Färber2013-12-23 15:32:36 +0100
commiteb2535f411c2201cd6f79e8d2b4e3f4c5b765729 (patch)
treebd0a03525133babf50cf38cd2d8107505569feec /include/exec/memory.h
parentcputlb: Use memset() when flushing entries (diff)
downloadqemu-eb2535f411c2201cd6f79e8d2b4e3f4c5b765729.tar.gz
qemu-eb2535f411c2201cd6f79e8d2b4e3f4c5b765729.tar.xz
qemu-eb2535f411c2201cd6f79e8d2b4e3f4c5b765729.zip
cputlb: Tidy memset() of arrays
Don't duplicate the array length computation in the memset() when plain sizeof() can produce the correct results. Signed-off-by: Richard Henderson <rth@twiddle.net> Reviewed-by: Aurelien Jarno <aurelien@aurel32.net> Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'include/exec/memory.h')
0 files changed, 0 insertions, 0 deletions