diff options
| author | Bob Moore <robert.moore@intel.com> | 2019-04-08 16:42:24 -0400 |
|---|---|---|
| committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2019-04-09 04:08:28 -0400 |
| commit | 5599fb69355d7a558f32206dac7539e945a1f604 (patch) | |
| tree | 25a12b1baa58d28dd812c61db36931eff04f6049 /arch/x86/boot/compressed/acpi.c | |
| parent | a3ce7a8e0dd9baa5932c480b789ab54afa3ab116 (diff) | |
ACPICA: Rename nameseg compare macro for clarity
ACPICA commit 92ec0935f27e217dff0b176fca02c2ec3d782bb5
ACPI_COMPARE_NAME changed to ACPI_COMPARE_NAMESEG
This clarifies (1) this is a compare on 4-byte namesegs, not
a generic compare. Improves understanding of the code.
Link: https://github.com/acpica/acpica/commit/92ec0935
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Erik Schmauss <erik.schmauss@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'arch/x86/boot/compressed/acpi.c')
| -rw-r--r-- | arch/x86/boot/compressed/acpi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/boot/compressed/acpi.c b/arch/x86/boot/compressed/acpi.c index 0ef4ad55b29b..ad84239e595e 100644 --- a/arch/x86/boot/compressed/acpi.c +++ b/arch/x86/boot/compressed/acpi.c | |||
| @@ -276,7 +276,7 @@ static unsigned long get_acpi_srat_table(void) | |||
| 276 | if (acpi_table) { | 276 | if (acpi_table) { |
| 277 | header = (struct acpi_table_header *)acpi_table; | 277 | header = (struct acpi_table_header *)acpi_table; |
| 278 | 278 | ||
| 279 | if (ACPI_COMPARE_NAME(header->signature, ACPI_SIG_SRAT)) | 279 | if (ACPI_COMPARE_NAMESEG(header->signature, ACPI_SIG_SRAT)) |
| 280 | return acpi_table; | 280 | return acpi_table; |
| 281 | } | 281 | } |
| 282 | entry += size; | 282 | entry += size; |
