modpost symbol prefix setting
authorChris Boot <debian@bootc.net>
Mon, 1 Jul 2013 22:10:02 +0000 (23:10 +0100)
committerBastian Blank <waldi@debian.org>
Fri, 22 Jun 2018 09:50:22 +0000 (10:50 +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 9917f928d0fdf0a0f82f2730c926fc6449e04121..41477869c16f8c5e1a91a753f3e3bdade7091cf7 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"