]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
x86/events/amd/iommu: Make iommu_pmu const and __initconst
authorBhumika Goyal <bhumirks@gmail.com>
Tue, 19 Sep 2017 11:10:43 +0000 (16:40 +0530)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 19 Oct 2017 14:15:47 +0000 (16:15 +0200)
commit642e641cbea57e559720b9df09889ffcf525cf04
tree3a8ec7714f0e45c8bfe9014b5aacd1957ff40828
parent0cfe5b5fc0277463fa795dea312a3a2fd5e8bac2
x86/events/amd/iommu: Make iommu_pmu const and __initconst

iommu_pmu is only used as source for a copy operation in the init code
path.

Mark it const and __initconst.

Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: julia.lawall@lip6.fr
Link: https://lkml.kernel.org/r/1505819443-670-1-git-send-email-bhumirks@gmail.com
arch/x86/events/amd/iommu.c