]> Git Repo - linux.git/commit - drivers/iommu/amd_iommu_init.c
iommu/amd: Fix section mismatch warning
authorJoerg Roedel <[email protected]>
Fri, 18 Aug 2017 22:35:40 +0000 (00:35 +0200)
committerJoerg Roedel <[email protected]>
Sat, 19 Aug 2017 08:34:31 +0000 (10:34 +0200)
commit2479c631d16c53b01f897fe6a4666c04f71075fb
treef8852aeeaaa3c04624ca30aee9c60c6f7681db5a
parentae162efbf2870c326e06b4f905423fb888f9cd2a
iommu/amd: Fix section mismatch warning

The variable amd_iommu_pre_enabled is used in non-init
code-paths, so remove the __initdata annotation.

Reported-by: kbuild test robot <[email protected]>
Fixes: 3ac3e5ee5ed56 ('iommu/amd: Copy old trans table from old kernel')
Acked-by: Baoquan He <[email protected]>
Signed-off-by: Joerg Roedel <[email protected]>
drivers/iommu/amd_iommu_init.c
This page took 0.070302 seconds and 4 git commands to generate.