ANDROID: lib/plist.c: Export plist-related APIs
Export plist_add(), plist_del() and plist_requeue() for vendor modules. Bug: 180865128 Signed-off-by: Choonghoon Park <choong.park@samsung.com> Change-Id: I0b6fd9becd04428d998c2ce031804bec6ff87be5
This commit is contained in:

committed by
Todd Kjos

parent
4d63efb9ae
commit
7656aa0f48
@@ -102,6 +102,7 @@ ins_node:
|
|||||||
|
|
||||||
plist_check_head(head);
|
plist_check_head(head);
|
||||||
}
|
}
|
||||||
|
EXPORT_SYMBOL_GPL(plist_add);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* plist_del - Remove a @node from plist.
|
* plist_del - Remove a @node from plist.
|
||||||
@@ -131,6 +132,7 @@ void plist_del(struct plist_node *node, struct plist_head *head)
|
|||||||
|
|
||||||
plist_check_head(head);
|
plist_check_head(head);
|
||||||
}
|
}
|
||||||
|
EXPORT_SYMBOL_GPL(plist_del);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* plist_requeue - Requeue @node at end of same-prio entries.
|
* plist_requeue - Requeue @node at end of same-prio entries.
|
||||||
@@ -171,6 +173,7 @@ void plist_requeue(struct plist_node *node, struct plist_head *head)
|
|||||||
|
|
||||||
plist_check_head(head);
|
plist_check_head(head);
|
||||||
}
|
}
|
||||||
|
EXPORT_SYMBOL_GPL(plist_requeue);
|
||||||
|
|
||||||
#ifdef CONFIG_DEBUG_PLIST
|
#ifdef CONFIG_DEBUG_PLIST
|
||||||
#include <linux/sched.h>
|
#include <linux/sched.h>
|
||||||
|
Reference in New Issue
Block a user