summaryrefslogtreecommitdiff
path: root/packages/linux
diff options
context:
space:
mode:
authorLeon Woestenberg <leon.woestenberg@gmail.com>2008-01-14 16:46:47 +0000
committerLeon Woestenberg <leon.woestenberg@gmail.com>2008-01-14 16:46:47 +0000
commitae704818de331a3d330bd5627cc3eb1bdd3a8709 (patch)
tree3ed4cd6ac38d88440576ae74f539ddd7cca917af /packages/linux
parent1b0b0e3f85464178c997ef9f0943d0ff99e85edf (diff)
linux-2.6.23: backport of upstream fix: kallsyms-missing-include.patch
Diffstat (limited to 'packages/linux')
-rw-r--r--packages/linux/linux-2.6.23/kallsyms-missing-include.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/packages/linux/linux-2.6.23/kallsyms-missing-include.patch b/packages/linux/linux-2.6.23/kallsyms-missing-include.patch
new file mode 100644
index 0000000000..9c31b1fa9a
--- /dev/null
+++ b/packages/linux/linux-2.6.23/kallsyms-missing-include.patch
@@ -0,0 +1,19 @@
+A missing include in kallsyms.h.
+
+Upstream this is fixed in the 2.6.24 rc series:
+
+http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=5a75983eef1193c43caebde6643a218bd8d8390e
+
+Leon Woestenberg <leon.woestenberg@gmail.com>
+
+--- a/include/linux/kallsyms.h
++++ b/include/linux/kallsyms.h
+@@ -6,6 +6,7 @@
+ #define _LINUX_KALLSYMS_H
+
+ #include <linux/errno.h>
++#include <linux/stddef.h>
+
+ #define KSYM_NAME_LEN 128
+ #define KSYM_SYMBOL_LEN (sizeof("%s+%#lx/%#lx [%s]") + (KSYM_NAME_LEN - 1) + \
+