summaryrefslogtreecommitdiff
path: root/include/linux/ipc.h
diff options
context:
space:
mode:
authorFrederic Weisbecker <fweisbec@gmail.com>2010-01-09 22:53:14 +0300
committerFrederic Weisbecker <fweisbec@gmail.com>2010-01-16 14:29:32 +0300
commit5908cdc85eb30f8d07f2cb11d4a62334d7229048 (patch)
tree6d63ec247a47b957bea52578e77c8d6bda942eb0 /include/linux/ipc.h
parent889ff0150661512d79484219612b7e2e024b6c07 (diff)
downloadlinux-5908cdc85eb30f8d07f2cb11d4a62334d7229048.tar.xz
list: Introduce list_rotate_left()
Bring a new list_rotate_left() helper that rotates a list to the left. This is useful for codes that need to round roubin elements which queue priority increases from tail to head. Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com> Acked-by: Peter Zijlstra <peterz@infradead.org> Cc: Paul Mackerras <paulus@samba.org> Cc: Ingo Molnar <mingo@elte.hu> Cc: Arnaldo Carvalho de Melo <acme@infradead.org>
Diffstat (limited to 'include/linux/ipc.h')
0 files changed, 0 insertions, 0 deletions