summaryrefslogtreecommitdiff
path: root/packages/linux/nslu2-kernel/2.6.12
diff options
context:
space:
mode:
authorRod Whitby <rod@whitby.id.au>2005-07-29 09:57:46 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-07-29 09:57:46 +0000
commit1424698cf684f86dcb08797909f3bd63eee42935 (patch)
tree3bb5ec8c56c67eefba40dd7e999701078d25716e /packages/linux/nslu2-kernel/2.6.12
parentdcdd7c50d560dab19133a25afa01d7f9af0d64e3 (diff)
Added the missing-exports patch from Matta to the OpenSlug kernel, to resolve the missing hotplug_path and add_input_randomness symbols.
Diffstat (limited to 'packages/linux/nslu2-kernel/2.6.12')
-rw-r--r--packages/linux/nslu2-kernel/2.6.12/missing-exports.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/packages/linux/nslu2-kernel/2.6.12/missing-exports.patch b/packages/linux/nslu2-kernel/2.6.12/missing-exports.patch
new file mode 100644
index 0000000000..935dd29115
--- /dev/null
+++ b/packages/linux/nslu2-kernel/2.6.12/missing-exports.patch
@@ -0,0 +1,19 @@
+--- linux-2.6.12/drivers/char/random.c~ 2005-05-14 16:42:24.000000000 -0400
++++ linux-2.6.12/drivers/char/random.c 2005-05-14 16:42:46.000000000 -0400
+@@ -646,6 +646,7 @@ extern void add_input_randomness(unsigne
+ add_timer_randomness(&input_timer_state,
+ (type << 4) ^ code ^ (code >> 4) ^ value);
+ }
++EXPORT_SYMBOL_GPL(add_input_randomness);
+
+ void add_interrupt_randomness(int irq)
+ {
+--- linux-2.6.12/lib/kobject_uevent.c~ 2005-05-14 16:45:13.000000000 -0400
++++ linux-2.6.12/lib/kobject_uevent.c 2005-05-14 16:45:27.000000000 -0400
+@@ -178,6 +178,7 @@ static inline int send_uevent(const char
+
+ #ifdef CONFIG_HOTPLUG
+ char hotplug_path[HOTPLUG_PATH_LEN] = "/sbin/hotplug";
++EXPORT_SYMBOL_GPL(hotplug_path);
+ u64 hotplug_seqnum;
+ static DEFINE_SPINLOCK(sequence_lock);