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>
This commit is contained in:
parent
4348270137
commit
d38f6bcea8
@ -34,7 +34,7 @@
|
|||||||
#define ACPI_BERT_PRINT_MAX_RECORDS 5
|
#define ACPI_BERT_PRINT_MAX_RECORDS 5
|
||||||
#define ACPI_BERT_PRINT_MAX_LEN 1024
|
#define ACPI_BERT_PRINT_MAX_LEN 1024
|
||||||
|
|
||||||
static int bert_disable;
|
static int bert_disable __initdata;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Print "all" the error records in the BERT table, but avoid huge spam to
|
* Print "all" the error records in the BERT table, but avoid huge spam to
|
||||||
|
Loading…
x
Reference in New Issue
Block a user