aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/apei/einj.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/acpi/apei/einj.c')
-rw-r--r--drivers/acpi/apei/einj.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/apei/einj.c b/drivers/acpi/apei/einj.c
index 8e1793649ec0..8d457b55c55a 100644
--- a/drivers/acpi/apei/einj.c
+++ b/drivers/acpi/apei/einj.c
@@ -367,7 +367,7 @@ static int __einj_error_trigger(u64 trigger_paddr, u32 type,
367 * This will cause resource conflict with regular memory. So 367 * This will cause resource conflict with regular memory. So
368 * remove it from trigger table resources. 368 * remove it from trigger table resources.
369 */ 369 */
370 if (param_extension && (type & 0x0038) && param2) { 370 if ((param_extension || acpi5) && (type & 0x0038) && param2) {
371 struct apei_resources addr_resources; 371 struct apei_resources addr_resources;
372 apei_resources_init(&addr_resources); 372 apei_resources_init(&addr_resources);
373 trigger_param_region = einj_get_trigger_parameter_region( 373 trigger_param_region = einj_get_trigger_parameter_region(