summaryrefslogtreecommitdiff
path: root/scripts/mod
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-01-15 17:34:21 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-01-15 17:34:21 +0300
commitdefe3b6d701049a8d4713127c8cb8dcd839e2df7 (patch)
tree6e2014750f0e4fdb7e22a117633fa64d7ea34ade /scripts/mod
parent385298abbe968e9eb30b8f84e22e5165ebe2dd9f (diff)
parent1c7fc5cbc33980acd13d668f1c8f0313d6ae9fd8 (diff)
downloadlinux-defe3b6d701049a8d4713127c8cb8dcd839e2df7.tar.xz
Merge 5.0-rc2 into tty-next
We need the tty core fixes in here as well. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/mod')
-rw-r--r--scripts/mod/modpost.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/mod/modpost.c b/scripts/mod/modpost.c
index 0de2fb236640..26bf886bd168 100644
--- a/scripts/mod/modpost.c
+++ b/scripts/mod/modpost.c
@@ -2185,7 +2185,7 @@ static void add_intree_flag(struct buffer *b, int is_intree)
/* Cannot check for assembler */
static void add_retpoline(struct buffer *b)
{
- buf_printf(b, "\n#ifdef RETPOLINE\n");
+ buf_printf(b, "\n#ifdef CONFIG_RETPOLINE\n");
buf_printf(b, "MODULE_INFO(retpoline, \"Y\");\n");
buf_printf(b, "#endif\n");
}