From: Oleg Nesterov Date: Sun, 25 Nov 2012 18:54:29 +0000 (+0100) Subject: uprobes: Kill uprobe_events, use RB_EMPTY_ROOT() instead X-Git-Tag: v3.9-rc1~173^2~2^2~27 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=441f1eb7db8babe2b6b4bc805f023739dbb70e33;p=pandora-kernel.git uprobes: Kill uprobe_events, use RB_EMPTY_ROOT() instead uprobe_events counts the number of uprobes in uprobes_tree but it is used as a boolean. We can use RB_EMPTY_ROOT() instead. Probably no_uprobe_events() added by this patch can have more callers, say, mmf_recalc_uprobes(). Signed-off-by: Oleg Nesterov Acked-by: Anton Arapov Acked-by: Srikar Dronamraju --- Reading git-diff-tree failed