See upstream commit:
commit
8c90487cdc64847b4fdd812ab3047f426fec4d13
Author: Dave Jones <davej@redhat.com>
Date: Wed Feb 26 10:49:49 2014 -0500
Rename TAINT_UNSAFE_SMP to TAINT_CPU_OUT_OF_SPEC
Rename TAINT_UNSAFE_SMP to TAINT_CPU_OUT_OF_SPEC, so we can repurpose
the flag to encompass a wider range of pushing the CPU beyond its
warrany.
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: I3e91df01bfbfaa6fab4e3904e59317022a9ec0f8
TP_ENUM_VALUES(
ctf_enum_value("PROPRIETARY_MODULE", 1UL << TAINT_PROPRIETARY_MODULE)
ctf_enum_value("FORCED_MODULE", 1UL << TAINT_FORCED_MODULE)
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,15,0))
ctf_enum_value("CPU_OUT_OF_SPEC", 1UL << TAINT_CPU_OUT_OF_SPEC)
+#else
+ ctf_enum_value("UNSAFE_SMP", 1UL << TAINT_UNSAFE_SMP)
+#endif
ctf_enum_value("FORCED_RMMOD", 1UL << TAINT_FORCED_RMMOD)
ctf_enum_value("MACHINE_CHECK", 1UL << TAINT_MACHINE_CHECK)
ctf_enum_value("BAD_PAGE", 1UL << TAINT_BAD_PAGE)