summaryrefslogtreecommitdiffstats
path: root/drivers/acpi
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2012-12-12 16:54:53 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2012-12-12 16:54:53 +0100
commit139353ffbe42ac7abda42f3259c1c374cbf4b779 (patch)
tree64208b3f2432e1e2bff5c09a860cb6065b9a6427 /drivers/acpi
parentMerge tag 'please-pull-pstore_mevent' of git://git.kernel.org/pub/scm/linux/k... (diff)
parentACPI, APEI, EINJ: Add missed ACPI5 support for error trigger table (diff)
downloadlinux-139353ffbe42ac7abda42f3259c1c374cbf4b779.tar.xz
linux-139353ffbe42ac7abda42f3259c1c374cbf4b779.zip
Merge tag 'please-pull-einj-fix-for-acpi5' of git://git.kernel.org/pub/scm/linux/kernel/git/ras/ras
Pull ACPI5 error injection fix from Tony Luck: "Trivial fix for error injection code using ACPI5 version of EINJ" * tag 'please-pull-einj-fix-for-acpi5' of git://git.kernel.org/pub/scm/linux/kernel/git/ras/ras: ACPI, APEI, EINJ: Add missed ACPI5 support for error trigger table
Diffstat (limited to 'drivers/acpi')
-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,
* This will cause resource conflict with regular memory. So
* remove it from trigger table resources.
*/
- if (param_extension && (type & 0x0038) && param2) {
+ if ((param_extension || acpi5) && (type & 0x0038) && param2) {
struct apei_resources addr_resources;
apei_resources_init(&addr_resources);
trigger_param_region = einj_get_trigger_parameter_region(