diff options
author | Rikard Falkeborn <[email protected]> | 2020-05-25 23:49:57 +0200 |
---|---|---|
committer | Joerg Roedel <[email protected]> | 2020-05-27 14:38:20 +0200 |
commit | 9f510d1e4299169e01efeac2275d0792850db956 (patch) | |
tree | 6b46b75f8c61914af5b1bbf762839f50894562ef /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 6a8b55ed4056ea5559ebe4f6a4b247f627870d4c (diff) |
iommu/hyper-v: Constify hyperv_ir_domain_ops
The struct hyperv_ir_domain_ops is not modified and can be made const to
allow the compiler to put it in read-only memory.
Before:
text data bss dec hex filename
2916 1180 1120 5216 1460 drivers/iommu/hyperv-iommu.o
After:
text data bss dec hex filename
3044 1052 1120 5216 1460 drivers/iommu/hyperv-iommu.o
Signed-off-by: Rikard Falkeborn <[email protected]>
Acked-by: Wei Liu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions