summaryrefslogtreecommitdiffstats
path: root/0001-modules-add-rhelversion-MODULE_INFO-tag.patch
diff options
context:
space:
mode:
Diffstat (limited to '0001-modules-add-rhelversion-MODULE_INFO-tag.patch')
-rw-r--r--0001-modules-add-rhelversion-MODULE_INFO-tag.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/0001-modules-add-rhelversion-MODULE_INFO-tag.patch b/0001-modules-add-rhelversion-MODULE_INFO-tag.patch
index 60318a1ad..e38f68c24 100644
--- a/0001-modules-add-rhelversion-MODULE_INFO-tag.patch
+++ b/0001-modules-add-rhelversion-MODULE_INFO-tag.patch
@@ -94,7 +94,7 @@ index 2e6670860d27..8c35a5db7d7e 100644
/* Exported symbols */
diff --git a/kernel/module.c b/kernel/module.c
-index bca993c5f1bc..63518d49c823 100644
+index ef400c389f49..4a7cb21d7e74 100644
--- a/kernel/module.c
+++ b/kernel/module.c
@@ -802,6 +802,7 @@ static struct module_attribute modinfo_##field = { \
@@ -114,7 +114,7 @@ index bca993c5f1bc..63518d49c823 100644
&modinfo_coresize,
&modinfo_initsize,
diff --git a/scripts/mod/modpost.c b/scripts/mod/modpost.c
-index 9a98af90e625..9e46ba4a3f25 100644
+index 6aea65c65745..ed3c4d8a1c7f 100644
--- a/scripts/mod/modpost.c
+++ b/scripts/mod/modpost.c
@@ -21,6 +21,7 @@
@@ -125,7 +125,7 @@ index 9a98af90e625..9e46ba4a3f25 100644
/* Are we using CONFIG_MODVERSIONS? */
static int modversions = 0;
-@@ -2382,6 +2383,12 @@ static void add_srcversion(struct buffer *b, struct module *mod)
+@@ -2384,6 +2385,12 @@ static void write_buf(struct buffer *b, const char *fname)
}
}
@@ -138,7 +138,7 @@ index 9a98af90e625..9e46ba4a3f25 100644
static void write_if_changed(struct buffer *b, const char *fname)
{
char *tmp;
-@@ -2645,6 +2652,7 @@ int main(int argc, char **argv)
+@@ -2636,6 +2643,7 @@ int main(int argc, char **argv)
add_depends(&buf, mod);
add_moddevtable(&buf, mod);
add_srcversion(&buf, mod);