diff options
author | Joerg Roedel <joerg.roedel@amd.com> | 2010-05-28 12:26:48 (GMT) |
---|---|---|
committer | Joerg Roedel <joerg.roedel@amd.com> | 2010-06-01 08:03:08 (GMT) |
commit | e82752d8b5a7e0a5e4d607fd8713549e2a4e2741 (patch) | |
tree | 4bc5c676e46c26083e46b77907fe7d588831f4f5 /drivers/char/pty.c | |
parent | 1d61e73ab4c7470833241af888939a7aab2b0354 (diff) | |
download | linux-e82752d8b5a7e0a5e4d607fd8713549e2a4e2741.tar.xz |
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 'drivers/char/pty.c')
0 files changed, 0 insertions, 0 deletions