[RFC 4/4] workqueue: use integer for cpu on queuing work

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

 



It's a minor cleanup, see d84ff0512f1b ("workqueue: consistently use
int for @cpu variables") for reasons.

Signed-off-by: Hillf Danton <hdanton@xxxxxxxx>
---

--- e/kernel/workqueue.c
+++ f/kernel/workqueue.c
@@ -1393,7 +1393,7 @@ static void __queue_work(int cpu, struct
 	struct worker_pool *last_pool;
 	struct list_head *worklist;
 	unsigned int work_flags;
-	unsigned int req_cpu = cpu;
+	int req_cpu = cpu;
 
 	/*
 	 * While a work item is PENDING && off queue, a task trying to





[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux