diff options
-rw-r--r-- | packages/linux/nslu2-kernel/2.6.12/missing-exports.patch | 19 | ||||
-rw-r--r-- | packages/linux/nslu2-kernel_2.6.12.2.bb | 3 |
2 files changed, 21 insertions, 1 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); diff --git a/packages/linux/nslu2-kernel_2.6.12.2.bb b/packages/linux/nslu2-kernel_2.6.12.2.bb index e87b612172..8b54cdc703 100644 --- a/packages/linux/nslu2-kernel_2.6.12.2.bb +++ b/packages/linux/nslu2-kernel_2.6.12.2.bb @@ -1,5 +1,5 @@ # Kernel for NSLU2 -PR = "r5" +PR = "r6" include nslu2-kernel.inc # N2K_EXTRA_PATCHES - list of patches to apply (can include @@ -21,4 +21,5 @@ N2K_PATCHES = "\ file://xscale-reset.patch;patch=1 \ file://x1205-rtc.c-id.patch;patch=1 \ file://mtd-shutdown.patch;patch=1 \ + file://missing-exports.patch;patch=1 \ " |