Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ACPI: APEI: mark bert_disable as __initdata

It's only used inside the __init section. Mark it __initdata.

Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>

authored by

Miaohe Lin and committed by
Rafael J. Wysocki
d38f6bce 43482701

+1 -1
+1 -1
drivers/acpi/apei/bert.c
··· 34 34 #define ACPI_BERT_PRINT_MAX_RECORDS 5 35 35 #define ACPI_BERT_PRINT_MAX_LEN 1024 36 36 37 - static int bert_disable; 37 + static int bert_disable __initdata; 38 38 39 39 /* 40 40 * Print "all" the error records in the BERT table, but avoid huge spam to