diff options
Diffstat (limited to 'drivers/xen/xen-acpi-processor.c')
-rw-r--r-- | drivers/xen/xen-acpi-processor.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/xen/xen-acpi-processor.c b/drivers/xen/xen-acpi-processor.c index c80195e8fbd1..b29f4e40851f 100644 --- a/drivers/xen/xen-acpi-processor.c +++ b/drivers/xen/xen-acpi-processor.c | |||
@@ -364,9 +364,9 @@ read_acpi_id(acpi_handle handle, u32 lvl, void *context, void **rv) | |||
364 | } | 364 | } |
365 | /* There are more ACPI Processor objects than in x2APIC or MADT. | 365 | /* There are more ACPI Processor objects than in x2APIC or MADT. |
366 | * This can happen with incorrect ACPI SSDT declerations. */ | 366 | * This can happen with incorrect ACPI SSDT declerations. */ |
367 | if (acpi_id > nr_acpi_bits) { | 367 | if (acpi_id >= nr_acpi_bits) { |
368 | pr_debug("We only have %u, trying to set %u\n", | 368 | pr_debug("max acpi id %u, trying to set %u\n", |
369 | nr_acpi_bits, acpi_id); | 369 | nr_acpi_bits - 1, acpi_id); |
370 | return AE_OK; | 370 | return AE_OK; |
371 | } | 371 | } |
372 | /* OK, There is a ACPI Processor object */ | 372 | /* OK, There is a ACPI Processor object */ |