]> git.baikalelectronics.ru Git - kernel.git/commit
list.h: Add list_splice_tail() and list_splice_tail_init()
authorLuis R. Rodriguez <lrodriguez@atheros.com>
Wed, 6 Aug 2008 22:21:26 +0000 (15:21 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 7 Aug 2008 13:49:42 +0000 (09:49 -0400)
commitba172bfeec346a5ebe146b827e460b594da30489
tree8b0079f19db09ecd264cc2e8c428033fe725015f
parent10c2101545110d77cb3e1801934d66be792929ac
list.h: Add list_splice_tail() and list_splice_tail_init()

If you are using linked lists for queues list_splice() will not do what
you would expect even if you use the elements passed reversed. We need
to handle these differently. We add list_splice_tail() and
list_splice_tail_init().

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/dma/ioat_dma.c
drivers/usb/host/ehci-q.c
include/linux/list.h