]> git.baikalelectronics.ru Git - kernel.git/commit
x86/amd-iommu: Un__init function required on shutdown
authorJoerg Roedel <joerg.roedel@amd.com>
Wed, 28 Oct 2009 17:02:26 +0000 (18:02 +0100)
committerJoerg Roedel <joerg.roedel@amd.com>
Wed, 28 Oct 2009 17:02:26 +0000 (18:02 +0100)
commit80092c06ace1b2ef3bf1bd66f5b9c632c20cf3e6
tree4805249debe3a611dc649f4c71e95ac6c7d58b51
parent6fad9eb2fcde223a6b9d430b4ba2f6e356ca2022
x86/amd-iommu: Un__init function required on shutdown

The function iommu_feature_disable is required on system
shutdown to disable the IOMMU but it is marked as __init.
This may result in a panic if the memory is reused. This
patch fixes this bug.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
arch/x86/kernel/amd_iommu_init.c