diff options
author | Joerg Roedel <joerg.roedel@amd.com> | 2008-11-17 09:16:43 -0500 |
---|---|---|
committer | Joerg Roedel <joerg.roedel@amd.com> | 2008-11-18 09:44:42 -0500 |
commit | 695b5676c727d80921a2dc8737d5b3322222db85 (patch) | |
tree | 2db278fea45ae5ecd8cd9af86e001607ec53ac3c /arch/x86 | |
parent | 3ce1f93c6d53c3f91c3846cf66b018276c8ac2e7 (diff) |
AMD IOMMU: fix fullflush comparison length
Impact: fix comparison length for 'fullflush'
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Diffstat (limited to 'arch/x86')
-rw-r--r-- | arch/x86/kernel/amd_iommu_init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/amd_iommu_init.c b/arch/x86/kernel/amd_iommu_init.c index 595edd2befc6..30ae2701b3df 100644 --- a/arch/x86/kernel/amd_iommu_init.c +++ b/arch/x86/kernel/amd_iommu_init.c | |||
@@ -1215,7 +1215,7 @@ static int __init parse_amd_iommu_options(char *str) | |||
1215 | amd_iommu_isolate = 1; | 1215 | amd_iommu_isolate = 1; |
1216 | if (strncmp(str, "share", 5) == 0) | 1216 | if (strncmp(str, "share", 5) == 0) |
1217 | amd_iommu_isolate = 0; | 1217 | amd_iommu_isolate = 0; |
1218 | if (strncmp(str, "fullflush", 11) == 0) | 1218 | if (strncmp(str, "fullflush", 9) == 0) |
1219 | amd_iommu_unmap_flush = true; | 1219 | amd_iommu_unmap_flush = true; |
1220 | } | 1220 | } |
1221 | 1221 | ||