From 8abf1a09282ecef1d2eadc65b842b459b4525375 Mon Sep 17 00:00:00 2001 From: Thomas Schoebel-Theuer Date: Sun, 7 May 2017 20:48:48 +0200 Subject: [PATCH] infra: modinfo shows whether prepatch is used --- kernel/sy_old/mars_main.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/kernel/sy_old/mars_main.c b/kernel/sy_old/mars_main.c index bd62f6aa..ebc4424b 100644 --- a/kernel/sy_old/mars_main.c +++ b/kernel/sy_old/mars_main.c @@ -5849,6 +5849,12 @@ MODULE_AUTHOR("Thomas Schoebel-Theuer "); MODULE_VERSION(BUILDTAG " (" BUILDHOST " " BUILDDATE ")"); MODULE_LICENSE("GPL"); +#ifdef HAS_MARS_PREPATCH +MODULE_INFO(prepatch, "has_prepatch"); +#else +MODULE_INFO(prepatch, "no_prepatch"); +#endif + #ifndef CONFIG_MARS_DEBUG MODULE_INFO(debug, "production"); #else