x86/dmi: Constify quirks data
authorAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 24 Jul 2019 14:08:16 +0000 (15:08 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 25 Jul 2019 12:00:35 +0000 (13:00 +0100)
commitc1681c394348636c5a7fbaa949623cef5eb9e9d5
tree20d298f12e54e7eb08ef4c39961811993d33cc2e
parent3a949655fe8369289fb6c4218adfdeb7cabcc2c3
x86/dmi: Constify quirks data

All DMI quirks tables are mutable, but are only ever read.

Update dmi_check_system() and dmi_system_id.callback to pass a const pointer,
and move all quirks tables into __initconstrel.

No functional change.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/dmi_scan.c
xen/arch/x86/genapic/bigsmp.c
xen/arch/x86/hvm/quirks.c
xen/arch/x86/ioport_emulate.c
xen/arch/x86/shutdown.c
xen/arch/x86/x86_64/mmconf-fam10h.c
xen/include/xen/dmi.h