summaryrefslogtreecommitdiff
path: root/Kbuild
diff options
context:
space:
mode:
authorJohn Garry <john.garry@huawei.com>2018-08-07 21:15:05 +0800
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2018-08-09 10:51:49 +0200
commita6f0729508df6a067c4a074ec187ecd9d2457a6b (patch)
treeafc63b484515d71a3035cdb7e62984d787f9f6b4 /Kbuild
parent1ffaddd029c867d134a1dde39f540dcc8c52e274 (diff)
ACPI / scan: Add static attribute to indirect_io_hosts[]
Array indirect_io_hosts[] is declared in acpi_is_indirect_io_slave() as a const array, which means that the array will be re-built for each call. Optimise by adding the static attribute, which means that the array is added to const-data pool and not re-built per function call. Reported-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: John Garry <john.garry@huawei.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions