Home Home > GIT Browse > openSUSE-15.2
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTony Jones <tonyj@suse.de>2019-09-13 10:53:04 -0700
committerTony Jones <tonyj@suse.de>2019-09-13 10:53:04 -0700
commitcac2c4efa666bf19e85a55622a0a9b43c6384c4e (patch)
tree586d5dcee96bf2646dc1637d2825481dd2c2b9f8
parent0049e9ac81e8d233b099bcf77a3e6ea9ed769b2c (diff)
Move guarded patch into it's own out of tree section
-rw-r--r--kernel/tracepoint.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/kernel/tracepoint.c b/kernel/tracepoint.c
index 73956eaff8a9..2c606225c8d2 100644
--- a/kernel/tracepoint.c
+++ b/kernel/tracepoint.c
@@ -375,7 +375,11 @@ static void for_each_tracepoint_range(
bool trace_module_has_bad_taint(struct module *mod)
{
return mod->taints & ~((1 << TAINT_OOT_MODULE) | (1 << TAINT_CRAP) |
- (1 << TAINT_UNSIGNED_MODULE));
+ (1 << TAINT_UNSIGNED_MODULE)
+#ifdef CONFIG_SUSE_KERNEL_SUPPORTED
+ | (1 << TAINT_EXTERNAL_SUPPORT) | (1 << TAINT_NO_SUPPORT)
+#endif
+ );
}
static BLOCKING_NOTIFIER_HEAD(tracepoint_notify_list);