[PATCH -repost 05/21] kgr: update Kconfig documentation

From: Jiri Slaby
Date: Wed Jun 25 2014 - 07:11:22 EST


This is based on Udo's text which was augmented in this patch.

Signed-off-by: Jiri Slaby <jslaby@xxxxxxx>
Cc: Udo Seidel <udoseidel@xxxxxx>
Cc: Vojtech Pavlik <vojtech@xxxxxxx>
---
kernel/Kconfig.kgraft | 3 +++
samples/Kconfig | 4 ++++
2 files changed, 7 insertions(+)

diff --git a/kernel/Kconfig.kgraft b/kernel/Kconfig.kgraft
index f38d82c06580..bead93646071 100644
--- a/kernel/Kconfig.kgraft
+++ b/kernel/Kconfig.kgraft
@@ -5,3 +5,6 @@ config KGRAFT
bool "kGraft infrastructure"
depends on DYNAMIC_FTRACE_WITH_REGS
depends on HAVE_KGRAFT
+ help
+ Select this to enable kGraft online kernel patching. The
+ runtime price is zero, so it is safe to say Y here.
diff --git a/samples/Kconfig b/samples/Kconfig
index b33a397dfc58..12848d1bd8c5 100644
--- a/samples/Kconfig
+++ b/samples/Kconfig
@@ -58,6 +58,10 @@ config SAMPLE_KDB
config SAMPLE_KGRAFT_PATCHER
tristate "Build kGraft patcher example -- loadable modules only"
depends on KGRAFT && m
+ help
+ Sample code to replace sys_iopl() and sys_capable() via
+ kGraft. This is only for presentation purposes. It is safe to
+ say Y here.

config SAMPLE_RPMSG_CLIENT
tristate "Build rpmsg client sample -- loadable modules only"
--
2.0.0

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/