From: jogo 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: https://git.rohieb.name/openwrt.git/commitdiff_plain/f574e02f6c373409751b2b8caee2ccbad36c4395 kernel: 2.6.30: remove bogus additional find_task_by_vpid export from OCF find_task_by_vpid is already exported, thus breaking builds. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27952 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- 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 73210a010..3f22153fe 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); -