]> git.baikalelectronics.ru Git - kernel.git/commit
prio_tree: introduce prio_set_parent()
authorXiao Guangrong <xiaoguangrong@linux.vnet.ibm.com>
Fri, 23 Mar 2012 22:02:15 +0000 (15:02 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 23 Mar 2012 23:58:36 +0000 (16:58 -0700)
commit0d502ebb118ffbaad584ba79aec5ac581cf87b37
treeab6f4b07f725fcf600490eca2dea037f75f96746
parent7a86d68d8644ad7d160f40e2f34ac79ebe16a8ab
prio_tree: introduce prio_set_parent()

Introduce prio_set_parent() to abstract the operation which is used to
attach the node to its parent.

Signed-off-by: Xiao Guangrong <xiaoguangrong@linux.vnet.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
lib/prio_tree.c