diff options
Diffstat (limited to 'lib/acpi/csrt.c')
-rw-r--r-- | lib/acpi/csrt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/acpi/csrt.c b/lib/acpi/csrt.c index 00927e53406..b863c644c07 100644 --- a/lib/acpi/csrt.c +++ b/lib/acpi/csrt.c @@ -40,7 +40,7 @@ int acpi_write_csrt(struct acpi_ctx *ctx, const struct acpi_writer *entry) /* (Re)calculate length and checksum */ header->length = (ulong)ctx->current - (ulong)csrt; - header->checksum = table_compute_checksum(csrt, header->length); + acpi_update_checksum(header); acpi_add_table(ctx, csrt); |