diff options
author | Joerg Roedel <joerg.roedel@amd.com> | 2010-05-28 14:26:48 +0200 |
---|---|---|
committer | Joerg Roedel <joerg.roedel@amd.com> | 2010-06-01 10:03:08 +0200 |
commit | e82752d8b5a7e0a5e4d607fd8713549e2a4e2741 (patch) | |
tree | 4bc5c676e46c26083e46b77907fe7d588831f4f5 /arch/x86/kernel/rtc.c | |
parent | 1d61e73ab4c7470833241af888939a7aab2b0354 (diff) | |
download | blackbird-op-linux-e82752d8b5a7e0a5e4d607fd8713549e2a4e2741.tar.gz blackbird-op-linux-e82752d8b5a7e0a5e4d607fd8713549e2a4e2741.zip |
x86/amd-iommu: Fix crash when request_mem_region fails
When request_mem_region fails the error path tries to
disable the IOMMUs. This accesses the mmio-region which was
not allocated leading to a kernel crash. This patch fixes
the issue.
Cc: stable@kernel.org
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Diffstat (limited to 'arch/x86/kernel/rtc.c')
0 files changed, 0 insertions, 0 deletions