]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
AMD IOMMU: fix fullflush comparison length
authorJoerg Roedel <joerg.roedel@amd.com>
Mon, 17 Nov 2008 14:16:43 +0000 (15:16 +0100)
committerJoerg Roedel <joerg.roedel@amd.com>
Tue, 18 Nov 2008 14:44:42 +0000 (15:44 +0100)
Impact: fix comparison length for 'fullflush'

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

index 595edd2befc66ff8b4eb7aec27ba9d4047716d83..30ae2701b3df1b8976400d5996ed72a4a98baeea 100644 (file)
@@ -1215,7 +1215,7 @@ static int __init parse_amd_iommu_options(char *str)
                        amd_iommu_isolate = 1;
                if (strncmp(str, "share", 5) == 0)
                        amd_iommu_isolate = 0;
-               if (strncmp(str, "fullflush", 11) == 0)
+               if (strncmp(str, "fullflush", 9) == 0)
                        amd_iommu_unmap_flush = true;
        }