diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2008-07-20 17:43:20 +0000 |
---|---|---|
committer | Thomas Schwinge <tschwinge@gnu.org> | 2009-06-18 00:27:18 +0200 |
commit | 155f729a36531a464b82c63ae49adac5cc3b2d70 (patch) | |
tree | 666b43589642dafda50c8f5703d1174a5db3dc6e /linux | |
parent | ca9d48e5538e0e0088a6d865091d3b9992d7378c (diff) |
2008-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
* linux/src/include/linux/tqueue.h (queue_task_irq,
queue_task_irq_off, queue_task, run_task_queue): Turn into static
inlines.
Diffstat (limited to 'linux')
-rw-r--r-- | linux/src/include/linux/tqueue.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/linux/src/include/linux/tqueue.h b/linux/src/include/linux/tqueue.h index 8bd4e7f..d38e1df 100644 --- a/linux/src/include/linux/tqueue.h +++ b/linux/src/include/linux/tqueue.h @@ -79,7 +79,7 @@ extern task_queue tq_timer, tq_immediate, tq_scheduler, tq_disk; * "bh_list". You may call this function only from an interrupt * handler or a bottom half handler. */ -extern __inline__ void queue_task_irq(struct tq_struct *bh_pointer, +static __inline__ void queue_task_irq(struct tq_struct *bh_pointer, task_queue *bh_list) { if (!set_bit(0,&bh_pointer->sync)) { @@ -92,7 +92,7 @@ extern __inline__ void queue_task_irq(struct tq_struct *bh_pointer, * queue_task_irq_off: put the bottom half handler "bh_pointer" on the list * "bh_list". You may call this function only when interrupts are off. */ -extern __inline__ void queue_task_irq_off(struct tq_struct *bh_pointer, +static __inline__ void queue_task_irq_off(struct tq_struct *bh_pointer, task_queue *bh_list) { if (!(bh_pointer->sync & 1)) { @@ -106,7 +106,7 @@ extern __inline__ void queue_task_irq_off(struct tq_struct *bh_pointer, /* * queue_task: as queue_task_irq, but can be called from anywhere. */ -extern __inline__ void queue_task(struct tq_struct *bh_pointer, +static __inline__ void queue_task(struct tq_struct *bh_pointer, task_queue *bh_list) { if (!set_bit(0,&bh_pointer->sync)) { @@ -122,7 +122,7 @@ extern __inline__ void queue_task(struct tq_struct *bh_pointer, /* * Call all "bottom halfs" on a given list. */ -extern __inline__ void run_task_queue(task_queue *list) +static __inline__ void run_task_queue(task_queue *list) { struct tq_struct *p; |