Author: Andre Przywara <[hidden email]>
AuthorDate: Thu Oct 19 13:48:37 2017 +0100
Commit: Stefano Stabellini <[hidden email]>
CommitDate: Fri Dec 8 13:14:47 2017 -0800
ARM: vGIC: fix nr_irq definition
The global variable "nr_irqs" is used for x86 and some common Xen code.
To make the latter work easily for ARM, it was #defined to NR_IRQS.
This not only violated the common habit of capitalizing macros, but
also caused issues if one wanted to use a rather innocent "nr_irqs" as
a local variable name or as a function parameter.
Drop the optimization and make nr_irqs a normal variable for ARM also.