aboutsummaryrefslogtreecommitdiff
path: root/modutils
diff options
context:
space:
mode:
Diffstat (limited to 'modutils')
-rw-r--r--modutils/lsmod.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/modutils/lsmod.c b/modutils/lsmod.c
index 694205fda..39dc8e6b7 100644
--- a/modutils/lsmod.c
+++ b/modutils/lsmod.c
@@ -66,7 +66,10 @@ static void check_tainted(void)
}
}
#else
-static void check_tainted(void) { putchar('\n'); }
+static ALWAYS_INLINE void check_tainted(void)
+{
+ putchar('\n');
+}
#endif
int lsmod_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;