aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/cyc_complexity_plugin.c
diff options
context:
space:
mode:
authorJulian Wiedmann <[email protected]>2020-04-02 23:48:00 +0200
committerVasily Gorbik <[email protected]>2020-04-28 13:49:48 +0200
commitd188cac39753c8419d2b168436a632711896ea4e (patch)
tree5b29c13e6f12be9a4af1ebdfa752092c78075805 /scripts/gcc-plugins/cyc_complexity_plugin.c
parent2a7cf35c4056facd35c952e8000519034376eef7 (diff)
s390/qdio: keep track of allocated queue count
Knowing how many queues we initially allocated allows us to 1) sanity-check a subsequent qdio_establish() request, and 2) walk the queue arrays without further checks. Apply this while cleanly splitting qdio_free_queues() into two separate helpers. Signed-off-by: Julian Wiedmann <[email protected]> Reviewed-by: Steffen Maier <[email protected]> Reviewed-by: Benjamin Block <[email protected]> Signed-off-by: Vasily Gorbik <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions