list.h: add list_cut_position()
authorLuis R. Rodriguez <lrodriguez@atheros.com>
Wed, 6 Aug 2008 20:28:54 +0000 (13:28 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 7 Aug 2008 13:49:42 +0000 (09:49 -0400)
commit00e8a4da8cf0d7dba8cc4b0da28ea0f12dcf6b36
tree66d6b18fbafd6f1887f7ab7246e98caff2dd720c
parent7d283aee50351ec19eaf654a8690d77c4e1dff50
list.h: add list_cut_position()

This adds list_cut_position() which lets you cut a list into
two lists given a pivot in the list.

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
include/linux/list.h