23 lines
777 B
Diff
23 lines
777 B
Diff
From: Chris Boot <debian@bootc.net>
|
|
Date: Mon, 01 Jul 2013 23:10:02 +0100
|
|
Subject: modpost symbol prefix setting
|
|
Forwarded: not-needed
|
|
|
|
[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.]
|
|
|
|
--- a/scripts/mod/modpost.c
|
|
+++ b/scripts/mod/modpost.c
|
|
@@ -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"
|
|
|