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)
commit7d283aee50351ec19eaf654a8690d77c4e1dff50
tree8b0079f19db09ecd264cc2e8c428033fe725015f
parente6fce5b916cd7f7f79b2b3e53ba74bbfc1d7cf8b
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