From: Masami Hiramatsu Rename list_singleton to list_is_singular. Signed-off-by: Masami Hiramatsu Cc: Peter Zijlstra Signed-off-by: Andrew Morton --- include/linux/list.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff -puN include/linux/list.h~listh-add-list_singleton-fix include/linux/list.h --- a/include/linux/list.h~listh-add-list_singleton-fix +++ a/include/linux/list.h @@ -212,10 +212,10 @@ static inline int list_empty_careful(con } /** - * list_singleton - tests whether a list has just one entry. + * list_is_singular - tests whether a list has just one entry. * @head: the list to test. */ -static inline int list_singleton(const struct list_head *head) +static inline int list_is_singular(const struct list_head *head) { return !list_empty(head) && (head->next == head->prev); } _