Workqueue wants to expose more interface internal to kernel/. Instead of adding a new header file, repurpose kernel/workqueue_sched.h. Rename it to workqueue_internal.h and add include protector. This patch doesn't introduce any functional changes.
Showing the changes to kernel/workqueue.c (1 of 4 files). Show all
Unified · Split
| @@ -43,7 +43,7 @@ · 42 unmodified lines | |||
| 43 | #include <linux/idr.h> | 43 | #include <linux/idr.h> |
| 44 | #include <linux/hashtable.h> | 44 | #include <linux/hashtable.h> |
| 45 | 45 | ||
| 46 | #include "workqueue_sched.h" | 46 | #include "workqueue_internal.h" |
| 47 | 47 | ||
| 48 | enum { | 48 | enum { |
| 49 | /* | 49 | /* |