[PATCH] x86_64: Use -ENODEV in IOMMU initialization
authorAndi Kleen <ak@suse.de>
Mon, 26 Jun 2006 11:56:49 +0000 (13:56 +0200)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 26 Jun 2006 17:48:15 +0000 (10:48 -0700)
commitf201611fcecdfa825471dc425ee007997228fae4
treea44d043b26b0030bd5f192a0bd1f9861a36bcde2
parent6ebcc00e95fa78218a048a88d8d5ee491aa7d6d0
[PATCH] x86_64: Use -ENODEV in IOMMU initialization

Fix

initcall at 0xffffffff806c5b89: pci_iommu_init+0x0/0x53c(): returned with error code -1

Return -ENODEV instead when the IOMMU is not used.

Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/x86_64/kernel/pci-gart.c