]> git.kernelconcepts.de Git - karo-tx-linux.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)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 10 Nov 2009 00:52:46 +0000 (16:52 -0800)
commit7c536f4b06b335490228376e236f1897acfc6924
tree6d66801d78e7a68dc9c03e2097eb981e2948148f
parent3d364e6533516b915af98317cd555ecd85073503
x86/amd-iommu: Un__init function required on shutdown

commit ca0207114f1708b563f510b7781a360ec5b98359 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/x86/kernel/amd_iommu_init.c