aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/x86/kernel/amd_iommu_init.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/x86/kernel/amd_iommu_init.c b/arch/x86/kernel/amd_iommu_init.c
index 0124995c7b5d..316fe2eaeefe 100644
--- a/arch/x86/kernel/amd_iommu_init.c
+++ b/arch/x86/kernel/amd_iommu_init.c
@@ -509,7 +509,7 @@ static void __init init_iommu_from_acpi(struct amd_iommu *iommu,
509 u8 *end = p, flags = 0; 509 u8 *end = p, flags = 0;
510 u16 dev_i, devid = 0, devid_start = 0, devid_to = 0; 510 u16 dev_i, devid = 0, devid_start = 0, devid_to = 0;
511 u32 ext_flags = 0; 511 u32 ext_flags = 0;
512 bool alias = 0; 512 bool alias = false;
513 struct ivhd_entry *e; 513 struct ivhd_entry *e;
514 514
515 /* 515 /*
@@ -559,7 +559,7 @@ static void __init init_iommu_from_acpi(struct amd_iommu *iommu,
559 devid_start = e->devid; 559 devid_start = e->devid;
560 flags = e->flags; 560 flags = e->flags;
561 ext_flags = 0; 561 ext_flags = 0;
562 alias = 0; 562 alias = false;
563 break; 563 break;
564 case IVHD_DEV_ALIAS: 564 case IVHD_DEV_ALIAS:
565 devid = e->devid; 565 devid = e->devid;
@@ -572,7 +572,7 @@ static void __init init_iommu_from_acpi(struct amd_iommu *iommu,
572 flags = e->flags; 572 flags = e->flags;
573 devid_to = e->ext >> 8; 573 devid_to = e->ext >> 8;
574 ext_flags = 0; 574 ext_flags = 0;
575 alias = 1; 575 alias = true;
576 break; 576 break;
577 case IVHD_DEV_EXT_SELECT: 577 case IVHD_DEV_EXT_SELECT:
578 devid = e->devid; 578 devid = e->devid;
@@ -582,7 +582,7 @@ static void __init init_iommu_from_acpi(struct amd_iommu *iommu,
582 devid_start = e->devid; 582 devid_start = e->devid;
583 flags = e->flags; 583 flags = e->flags;
584 ext_flags = e->ext; 584 ext_flags = e->ext;
585 alias = 0; 585 alias = false;
586 break; 586 break;
587 case IVHD_DEV_RANGE_END: 587 case IVHD_DEV_RANGE_END:
588 devid = e->devid; 588 devid = e->devid;