+ change-return-value-from-queue_work-fix.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled

     export the queue_work wrappers GPL-only

has been added to the -mm tree.  Its filename is

     change-return-value-from-queue_work-fix.patch

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

------------------------------------------------------
Subject: export the queue_work wrappers GPL-only
From: Alan Stern <stern@xxxxxxxxxxxxxxxxxxx>

This patch (as777) fixes an oversight in a couple of earlier patches.  Now
the wrapper routines:

	queue_work(), queue_delayed_work(), queue_delayed_work_on(),
	schedule_work(), schedule_delayed_work(), and
	schedule_delayed_work_on()

are exported GPL-only, just as the originals used to be.

Signed-off-by: Alan Stern <stern@xxxxxxxxxxxxxxxxxxx>
Cc: Jonathan Corbet <corbet@xxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 kernel/workqueue.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff -puN kernel/workqueue.c~change-return-value-from-queue_work-fix kernel/workqueue.c
--- a/kernel/workqueue.c~change-return-value-from-queue_work-fix
+++ a/kernel/workqueue.c
@@ -501,7 +501,7 @@ void fastcall queue_work(struct workqueu
 	rc = add_work_to_q(wq, work);
 	WARN_ON(rc < 0);
 }
-EXPORT_SYMBOL(queue_work);
+EXPORT_SYMBOL_GPL(queue_work);
 
 void fastcall queue_delayed_work(struct workqueue_struct *wq,
 		struct work_struct *work, unsigned long delay)
@@ -511,7 +511,7 @@ void fastcall queue_delayed_work(struct 
 	rc = add_delayed_work_to_q(wq, work, delay);
 	WARN_ON(rc < 0);
 }
-EXPORT_SYMBOL(queue_delayed_work);
+EXPORT_SYMBOL_GPL(queue_delayed_work);
 
 void queue_delayed_work_on(int cpu, struct workqueue_struct *wq,
 		struct work_struct *work, unsigned long delay)
@@ -521,7 +521,7 @@ void queue_delayed_work_on(int cpu, stru
 	rc = add_delayed_work_to_q_on(cpu, wq, work, delay);
 	WARN_ON(rc < 0);
 }
-EXPORT_SYMBOL(queue_delayed_work_on);
+EXPORT_SYMBOL_GPL(queue_delayed_work_on);
 
 /**
  * schedule_on_each_cpu - call a function on each online CPU from keventd
_

Patches currently in -mm which might be from stern@xxxxxxxxxxxxxxxxxxx are

usb-hub-driver-improve-use-of-ifdef-fix.patch
block-layer-early-detection-of-medium-not-present.patch
scsi-core-and-sd-early-detection-of-medium-not-present.patch
sd-early-detection-of-medium-not-present.patch
scsi-early-detection-of-medium-not-present-updated.patch
change-return-value-from-queue_work.patch
change-return-value-from-queue_work-fix.patch
change-return-value-from-schedule_work.patch
change-return-value-from-schedule_work-fix.patch
add-section-on-function-return-values-to-codingstyle.patch
add-srcu-based-notifier-chains.patch
srcu-report-out-of-memory-errors.patch
srcu-report-out-of-memory-errors-fixlet.patch
cpufreq-make-the-transition_notifier-chain-use-srcu.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux