OSDN Git Service

hw/intc/arm_gicv3_its: Rename max_l2_entries to num_l2_entries
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 7 Jan 2022 17:08:00 +0000 (17:08 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 7 Jan 2022 17:08:00 +0000 (17:08 +0000)
commit7f18ac3ab3337f3c83b2ab34001ef7c1bb4a43a7
treeec31cac8803f62aeb2f28f9c197c50d000cf66a3
parent80dcd37feb3a249cdd6a96826836e267df5c7077
hw/intc/arm_gicv3_its: Rename max_l2_entries to num_l2_entries

In several places we have a local variable max_l2_entries which is
the number of entries which will fit in a level 2 table.  The
calculations done on this value are correct; rename it to
num_l2_entries to fit the convention we're using in this code.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
hw/intc/arm_gicv3_its.c