Merge tag 's390-5.16-1' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux
[linux-2.6-microblaze.git] / samples / Kconfig
index b0503ef..5518a3e 100644 (file)
@@ -26,7 +26,7 @@ config SAMPLE_TRACE_PRINTK
 config SAMPLE_FTRACE_DIRECT
        tristate "Build register_ftrace_direct() example"
        depends on DYNAMIC_FTRACE_WITH_DIRECT_CALLS && m
-       depends on X86_64 # has x86_64 inlined asm
+       depends on HAVE_SAMPLE_FTRACE_DIRECT
        help
          This builds an ftrace direct function example
          that hooks to wake_up_process and prints the parameters.
@@ -224,3 +224,9 @@ config SAMPLE_WATCH_QUEUE
          sb_notify() syscalls and the KEYCTL_WATCH_KEY keyctl() function.
 
 endif # SAMPLES
+
+config HAVE_SAMPLE_FTRACE_DIRECT
+       bool
+
+config HAVE_SAMPLE_FTRACE_MULTI_DIRECT
+       bool