From: Jonas Gorski Date: Thu, 11 Aug 2011 09:46:30 +0000 (+0000) Subject: kernel: 2.6.30: remove bogus additional find_task_by_vpid export from OCF X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=7304dcad2aad4902b3523ff87e7b80cdcd6398ed;p=openwrt%2Fstaging%2Fblocktrron.git kernel: 2.6.30: remove bogus additional find_task_by_vpid export from OCF find_task_by_vpid is already exported, thus breaking builds. SVN-Revision: 27952 --- diff --git a/target/linux/generic/patches-2.6.30/971-ocf_20110720.patch b/target/linux/generic/patches-2.6.30/971-ocf_20110720.patch index 73210a010a..3f22153fe0 100644 --- a/target/linux/generic/patches-2.6.30/971-ocf_20110720.patch +++ b/target/linux/generic/patches-2.6.30/971-ocf_20110720.patch @@ -120,13 +120,3 @@ extern void get_random_bytes(void *buf, int nbytes); void generate_random_uuid(unsigned char uuid_out[16]); ---- a/kernel/pid.c -+++ b/kernel/pid.c -@@ -383,6 +383,7 @@ struct task_struct *find_task_by_pid_typ - { - return pid_task(find_pid_ns(nr, ns), type); - } -+EXPORT_SYMBOL(find_task_by_vpid); - - EXPORT_SYMBOL(find_task_by_pid_type_ns); -