From ba46d4d7caf5ec6c89fbbde4bb19a86a272c4611 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Sat, 25 Mar 2006 19:09:09 +0000 Subject: update to linux 2.4.16 and current uClibc. --- .../AMD/DBAu1500/kernel-patches/009-sysfs-n.patch | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 target/device/AMD/DBAu1500/kernel-patches/009-sysfs-n.patch (limited to 'target/device/AMD/DBAu1500/kernel-patches/009-sysfs-n.patch') diff --git a/target/device/AMD/DBAu1500/kernel-patches/009-sysfs-n.patch b/target/device/AMD/DBAu1500/kernel-patches/009-sysfs-n.patch new file mode 100644 index 000000000..61359fc6b --- /dev/null +++ b/target/device/AMD/DBAu1500/kernel-patches/009-sysfs-n.patch @@ -0,0 +1,27 @@ +--- linux-2.6.16-rc6-mm1.orig/lib/kobject_uevent.c 2006-03-14 22:57:23.000000000 +0900 ++++ linux-2.6.16-rc6-mm1/lib/kobject_uevent.c 2006-03-15 08:39:33.000000000 +0900 +@@ -25,6 +25,11 @@ + #define BUFFER_SIZE 2048 /* buffer for the variables */ + #define NUM_ENVP 32 /* number of env pointers */ + ++#ifdef CONFIG_HOTPLUG ++u64 uevent_seqnum; ++char uevent_helper[UEVENT_HELPER_PATH_LEN] = "/sbin/hotplug"; ++#endif ++ + #if defined(CONFIG_HOTPLUG) && defined(CONFIG_NET) + static DEFINE_SPINLOCK(sequence_lock); + static struct sock *uevent_sock; +--- linux-2.6.16-rc6-mm1.orig/kernel/ksysfs.c 2006-03-14 22:57:31.000000000 +0900 ++++ linux-2.6.16-rc6-mm1/kernel/ksysfs.c 2006-03-15 08:41:11.000000000 +0900 +@@ -15,9 +15,6 @@ + #include + #include + +-u64 uevent_seqnum; +-char uevent_helper[UEVENT_HELPER_PATH_LEN] = "/sbin/hotplug"; +- + #define KERNEL_ATTR_RO(_name) \ + static struct subsys_attribute _name##_attr = __ATTR_RO(_name) + + -- cgit v1.2.3