commit | 507960843a49fb955bc4b4e6548618eec592ec09 | [log] [tgz] |
---|---|---|
author | Bixuan Cui <cuibixuan@linux.alibaba.com> | Mon Feb 27 10:55:24 2023 +0800 |
committer | Tony Luck <tony.luck@intel.com> | Mon Feb 27 09:20:00 2023 -0800 |
tree | b147913e2163e8d0610ec6974a270db34898e0e6 | |
parent | bfacfa2af3e04b51e39c5cbbf45ad6ac9c23a1b3 [diff] |
einj_mem_uc: Support before 3.14 kernel Run einj_mem_uc in 3.10 kernel: ./einj_mem_uc: cannot open '/sys/kernel/debug/apei/einj/flags' The 'flags' is added by 3482fb5e0c1c (ACPI, APEI, EINJ: Changes to the ACPI/APEI/EINJ debugfs interface) on 3.14 kernel. Add kernel version check. Signed-off-by: Bixuan Cui <cuibixuan@linux.alibaba.com> Signed-off-by: Tony Luck <tony.luck@intel.com>