modpost symbol prefix setting
authorChris Boot <debian@bootc.net>
Mon, 1 Jul 2013 22:10:02 +0000 (23:10 +0100)
committerBen Hutchings <ben@decadent.org.uk>
Thu, 19 Apr 2018 10:13:03 +0000 (11:13 +0100)
[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 6510536c06df3d4d43cac41f061e49d6e883e91b..dfbbd838666e84f296359268d9c5bf43a59860d4 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"