modpost symbol prefix setting
authorChris Boot <debian@bootc.net>
Mon, 1 Jul 2013 22:10:02 +0000 (23:10 +0100)
committerYves-Alexis Perez <corsac@debian.org>
Wed, 21 Feb 2018 15:29:03 +0000 (15:29 +0000)
[bwh: The original version of this was added by Bastian Blank.  The
upstream code includes <generated/autoconf.h> so that <linux/export.h>
can tell whether C symbols have an underscore prefix.  Since we build
modpost separately from the kernel, <generated/autoconf.h> won't exist.
However, no Debian Linux architecture uses the symbol prefix, so we
can simply omit it.]

Gbp-Pq: Topic debian
Gbp-Pq: Name modpost-symbol-prefix.patch

scripts/mod/modpost.c

index 238db4ffd30c02d18c19746c7ee452db70ccac3e..0445f2e1934e668e727dcb711e3f8358615dfcf6 100644 (file)
@@ -19,7 +19,6 @@
 #include <stdbool.h>
 #include <errno.h>
 #include "modpost.h"
-#include "../../include/generated/autoconf.h"
 #include "../../include/linux/license.h"
 #include "../../include/linux/export.h"